diff options
author | simlegate <simlegate@163.com> | 2013-05-09 12:57:32 +0800 |
---|---|---|
committer | simlegate <simlegate@163.com> | 2013-05-09 12:57:32 +0800 |
commit | 22dce9e71594d1cf191cd41cef845a34621826f8 (patch) | |
tree | 38e38f7bd7a94b6e9b145c4633a236acde7fd3d3 | |
parent | b36c42b76d5bb06e1a19b534177ad4980bc3b025 (diff) | |
download | zsh-22dce9e71594d1cf191cd41cef845a34621826f8.tar.gz zsh-22dce9e71594d1cf191cd41cef845a34621826f8.tar.bz2 zsh-22dce9e71594d1cf191cd41cef845a34621826f8.zip |
add git alias 'gcmsg' and stand for 'git commit -m'
-rw-r--r-- | plugins/git/git.plugin.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index bcbd0897c..b30c4b99a 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -23,9 +23,10 @@ compdef _git gc=git-commit alias gca!='git commit -v -a --amend' compdef _git gca!=git-commit alias gcmsg='git commit -m' -compdef _git gcm=git-commit +compdef _git gcmsg=git-commit alias gco='git checkout' compdef _git gco=git-checkout +alias gcm='git checkout master' alias gr='git remote' compdef _git gr=git-remote alias grv='git remote -v' |