Add alias for 'git reset HEAD~' (undo last commit)

This commit is contained in:
Henré Botha 2017-08-21 16:49:43 +02:00
parent d848c94804
commit 1c2d436b6b

View File

@ -204,6 +204,7 @@ alias grbm='git rebase master'
alias grbs='git rebase --skip' 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 grh~='git reset HEAD~'
alias grmv='git remote rename' alias grmv='git remote rename'
alias grrm='git remote remove' alias grrm='git remote remove'
alias grset='git remote set-url' alias grset='git remote set-url'