Browse Source

Git Plugin: adds 'grhh' alias for 'git reset HEAD --hard'

Chad Seeger 13 years ago
parent
commit
9ac98f6ceb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/git/git.plugin.zsh

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

@@ -36,6 +36,8 @@ alias ga='git add'
 compdef _git ga=git-add
 alias gm='git merge'
 compdef _git gm=git-merge
+alias grhh='git reset HEAD --hard'
+compdef _git grhh=git-reset-head-hard
 
 # Git and svn mix
 alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'