From dfd2776a639c485c919ef4b522e5de99e815fb51 Mon Sep 17 00:00:00 2001 From: Richard Moorhead Date: Sun, 14 Feb 2016 00:22:31 -0600 Subject: [PATCH] Added grho: git reset --hard origin/$(current_branch) --- plugins/git/git.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 34f69029..fb5dde64 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -184,6 +184,7 @@ alias grbm='git rebase master' alias grbs='git rebase --skip' alias grh='git reset HEAD' alias grhh='git reset HEAD --hard' +alias grho='git reset --hard origin/$(current_branch)' alias grmv='git remote rename' alias grrm='git remote remove' alias grset='git remote set-url'