浏览代码

Merge pull request #1148 from erichmenge/git-flow-plugin

Add a couple of options for git-flow.
Robby Russell 13 年之前
父节点
当前提交
33b7f22628
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      plugins/git-flow/git-flow.plugin.zsh

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

@@ -110,6 +110,8 @@ __git-flow-release ()
 						-u'[Use the given GPG-key for the digital signature (implies -s)]'\
 						-u'[Use the given GPG-key for the digital signature (implies -s)]'\
 						-m'[Use the given tag message]'\
 						-m'[Use the given tag message]'\
 						-p'[Push to $ORIGIN after performing finish]'\
 						-p'[Push to $ORIGIN after performing finish]'\
+						-k'[Keep branch after performing finish]'\
+						-n"[Don't tag this release]"\
 						':version:__git_flow_version_list'
 						':version:__git_flow_version_list'
 				;;
 				;;
 
 
@@ -162,6 +164,8 @@ __git-flow-hotfix ()
 						-u'[Use the given GPG-key for the digital signature (implies -s)]'\
 						-u'[Use the given GPG-key for the digital signature (implies -s)]'\
 						-m'[Use the given tag message]'\
 						-m'[Use the given tag message]'\
 						-p'[Push to $ORIGIN after performing finish]'\
 						-p'[Push to $ORIGIN after performing finish]'\
+						-k'[Keep branch after performing finish]'\
+						-n"[Don't tag this release]"\
 						':hotfix:__git_flow_hotfix_list'
 						':hotfix:__git_flow_hotfix_list'
 				;;
 				;;