From 8be4789bbbef06fe5eed581dc8c58df51e3cd9fd Mon Sep 17 00:00:00 2001 From: Mohammad Al Zouabi Date: Sun, 14 Jan 2024 01:56:23 +0800 Subject: [PATCH] feat(git): add `greva` and `grevc` aliases (#12042) --- plugins/git/git.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index f2e472f06..5c3064e8a 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -354,6 +354,8 @@ alias grss='git restore --source' alias grst='git restore --staged' alias gunwip='git rev-list --max-count=1 --format="%s" HEAD | grep -q "\--wip--" && git reset HEAD~1' alias grev='git revert' +alias greva='git revert --abort' +alias grevc='git revert --continue' alias grm='git rm' alias grmc='git rm --cached' alias gcount='git shortlog --summary --numbered'