From b1181c9a85747e2493f8eb9ef8066aaacd28b969 Mon Sep 17 00:00:00 2001 From: Constantine C Date: Wed, 27 Apr 2016 14:10:32 +0300 Subject: [PATCH] Add alias 'grsh' that resets a commit and stages its changes --- 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 95ce1ae2..7730fc99 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -180,6 +180,7 @@ alias grbi='git rebase -i' alias grbm='git rebase master' alias grbs='git rebase --skip' alias grh='git reset HEAD' +alias grhs='git reset HEAD^ --soft' alias grhh='git reset HEAD --hard' alias grmv='git remote rename' alias grrm='git remote remove'