Browse Source

feat(git-flow): add aliases for current `feature` / `release` branch (#9439)

Closes #9439
Fidel Torres 4 years ago
parent
commit
89ab38fe64
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/git-flow/git-flow.plugin.zsh

+ 4 - 0
plugins/git-flow/git-flow.plugin.zsh

@@ -39,6 +39,10 @@ alias gflrf='git flow release finish'
 alias gflhp='git flow hotfix publish'
 alias gflrp='git flow release publish'
 alias gflfpll='git flow feature pull'
+alias gflffc='git flow feature finish $(echo $(current_branch) | cut -c 9-)'
+alias gflfpc='git flow feature publish $(echo $(current_branch) | cut -c 9-)'
+alias gflrfc='git flow release finish $(echo $(current_branch) | cut -c 9-)'
+alias gflrpc='git flow release publish $(echo $(current_branch) | cut -c 9-)'
 
 _git-flow ()
 {