From 89ab38fe648a9c68e8425ed8d97b3dd23ef06402 Mon Sep 17 00:00:00 2001 From: Fidel Torres Date: Fri, 13 Nov 2020 05:21:48 +1100 Subject: feat(git-flow): add aliases for current `feature` / `release` branch (#9439) Closes #9439 --- plugins/git-flow/git-flow.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh index 8f0714b16..041df3aa5 100644 --- a/plugins/git-flow/git-flow.plugin.zsh +++ b/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 () { -- cgit v1.2.3-70-g09d2