89ab38fe648a9c68e8425ed8d97b3dd23ef06402
- Author
- Fidel Torres <fidel.torres@hazzas.com>
- Committer
- Marc Cornellà <hello@mcornella.com>
- Date
Message
feat(git-flow): add aliases for current `feature` / `release` branch (#9439)
Closes #9439
Diff
1diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh
2index 8f0714b1658620c01893ea217ff6633b2d99e23b..041df3aa5185370fbadf49c62e6afc40ac18e0a4 100644
3--- a/plugins/git-flow/git-flow.plugin.zsh
4+++ b/plugins/git-flow/git-flow.plugin.zsh
5@@ -39,6 +39,10 @@ alias gflrf='git flow release finish'
6 alias gflhp='git flow hotfix publish'
7 alias gflrp='git flow release publish'
8 alias gflfpll='git flow feature pull'
9+alias gflffc='git flow feature finish $(echo $(current_branch) | cut -c 9-)'
10+alias gflfpc='git flow feature publish $(echo $(current_branch) | cut -c 9-)'
11+alias gflrfc='git flow release finish $(echo $(current_branch) | cut -c 9-)'
12+alias gflrpc='git flow release publish $(echo $(current_branch) | cut -c 9-)'
13
14 _git-flow ()
15 {