Browse Source

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

simlegate 12 years ago
parent
commit
22dce9e715
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/git/git.plugin.zsh

+ 2 - 1
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'