Add "ghh" alias for command "git rev-parse HEAD"

This means something like "git hash head", allowing the user to get the SHA-1 hash for the HEAD commit.
This commit is contained in:
Edson Samuel Jr 2016-02-26 10:57:55 -03:00
parent 0b340bc3a5
commit f2e2aa16d3

View File

@ -210,6 +210,7 @@ alias grt='cd $(git rev-parse --show-toplevel || echo ".")'
alias gru='git reset --'
alias grup='git remote update'
alias grv='git remote -v'
alias grvh='git rev-parse HEAD'
alias gsb='git status -sb'
alias gsd='git svn dcommit'