From ca8628d907586f1aafe621b259961f2a67db8c14 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Mon, 13 Oct 2014 11:40:41 +0200 Subject: [PATCH] new alias: grH Signed-off-by: Gaetan Semet --- plugins/git2/git2.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/git2/git2.plugin.zsh b/plugins/git2/git2.plugin.zsh index 5562d7a0a..939a7b1ac 100644 --- a/plugins/git2/git2.plugin.zsh +++ b/plugins/git2/git2.plugin.zsh @@ -189,6 +189,9 @@ compdef _git glola=git-log # Soft Reset to HEAD alias grh='git reset HEAD' compdef _git grh=git-reset +# Hard Reset +alias grH='git reset --hard' +compdef _git grH=git-reset # Hard reset to HEAD alias grhh='git reset HEAD --hard' compdef _git grhh=git-reset