22dce9e71594d1cf191cd41cef845a34621826f8
- Author
- simlegate <simlegate@163.com>
- Committer
- simlegate <simlegate@163.com>
- Date
Message
add git alias 'gcmsg' and stand for 'git commit -m'
Diff
1diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
2index bcbd0897c0e41191990cf0bd9ed36a7ed5679f7d..b30c4b99a992135904ee5f1e521251c76bb5cb3e 100644
3--- a/plugins/git/git.plugin.zsh
4+++ b/plugins/git/git.plugin.zsh
5@@ -23,9 +23,10 @@ compdef _git gc=git-commit
6 alias gca!='git commit -v -a --amend'
7 compdef _git gca!=git-commit
8 alias gcmsg='git commit -m'
9-compdef _git gcm=git-commit
10+compdef _git gcmsg=git-commit
11 alias gco='git checkout'
12 compdef _git gco=git-checkout
13+alias gcm='git checkout master'
14 alias gr='git remote'
15 compdef _git gr=git-remote
16 alias grv='git remote -v'