1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00

First pass at git-town aliases

This commit is contained in:
Josh Powell 2019-07-11 19:38:28 -04:00
parent 6cb98eda15
commit 84e39885c4
No known key found for this signature in database
GPG key ID: 389284D954C178F7
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Git-Town plugin
This plugin adds completion and aliases for the `git-town` command. More information
at https://www.git-town.com.
Enable git-town plugin in your zshrc file:
```
plugins=(... git-town)
```
## Aliases
More information about `git-town` commands:
https://github.com/Originate/git-town#commands
| Alias | Command | Description |
|---------|----------------------------|----------------------------------------|
| `gt` | `git town` | Git-Town command |
| `gth` | `git town hack` | New feature branch off main branch |
| `gtsy` | `git town sync` | Updates current branch w/ all changes |
| `gtnpr` | `git town new-pull-request`| Create a new pull request |
| `gtsh` | `git town ship` | Delivers feature branch and removes it |

View file

@ -0,0 +1,19 @@
#!zsh
#
# Installation
# ------------
#
# WIP
#Alias
| `gt` | `git town` | Git-Town command |
| `gth` | `git town hack` | New feature branch off main branch |
| `gtsy` | `git town sync` | Updates current branch w/ all changes |
| `gtnpr` | `git town new-pull-request`| Create a new pull request |
| `gtsh` | `git town ship` | Delivers feature branch and removes it |
alias gt='git town'
alias gth='git town hack'
alias gtsy='git town sync'
alias gtnpr='git town new-pull-request'
alias gtsh='git town ship'