浏览代码

Merge pull request #1790 from simlegate/master

change git  alias
Robby Russell 11 年之前
父节点
当前提交
39a5e36c37
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      plugins/git/git.plugin.zsh

+ 2 - 0
plugins/git/git.plugin.zsh

@@ -22,6 +22,8 @@ alias gca='git commit -v -a'
 compdef _git gc=git-commit
 alias gca!='git commit -v -a --amend'
 compdef _git gca!=git-commit
+alias gcmsg='git commit -m'
+compdef _git gcmsg=git-commit
 alias gco='git checkout'
 compdef _git gco=git-checkout
 alias gcm='git checkout master'