add git alias 'gcmsg' and stand for 'git commit -m'

This commit is contained in:
simlegate 2013-05-09 12:57:32 +08:00
parent b36c42b76d
commit 22dce9e715

View file

@ -23,9 +23,10 @@ compdef _git gc=git-commit
alias gca!='git commit -v -a --amend' alias gca!='git commit -v -a --amend'
compdef _git gca!=git-commit compdef _git gca!=git-commit
alias gcmsg='git commit -m' alias gcmsg='git commit -m'
compdef _git gcm=git-commit compdef _git gcmsg=git-commit
alias gco='git checkout' alias gco='git checkout'
compdef _git gco=git-checkout compdef _git gco=git-checkout
alias gcm='git checkout master'
alias gr='git remote' alias gr='git remote'
compdef _git gr=git-remote compdef _git gr=git-remote
alias grv='git remote -v' alias grv='git remote -v'