Added shorthand for git rev-parse

This commit is contained in:
Adar Arnon 2016-01-30 15:08:52 +00:00
parent 5464fe3e4a
commit fde0c13cb7

View File

@ -182,6 +182,7 @@ alias grbs='git rebase --skip'
alias grh='git reset HEAD' alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard' alias grhh='git reset HEAD --hard'
alias grmv='git remote rename' alias grmv='git remote rename'
alias grp='git rev-parse'
alias grrm='git remote remove' alias grrm='git remote remove'
alias grset='git remote set-url' alias grset='git remote set-url'
alias grt='cd $(git rev-parse --show-toplevel || echo ".")' alias grt='cd $(git rev-parse --show-toplevel || echo ".")'