feat(git): add greva and grevc aliases (#12042)

This commit is contained in:
Mohammad Al Zouabi 2024-01-14 01:56:23 +08:00 committed by GitHub
parent cb7ff9fb14
commit 8be4789bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,6 +354,8 @@ alias grss='git restore --source'
alias grst='git restore --staged' alias grst='git restore --staged'
alias gunwip='git rev-list --max-count=1 --format="%s" HEAD | grep -q "\--wip--" && git reset HEAD~1' alias gunwip='git rev-list --max-count=1 --format="%s" HEAD | grep -q "\--wip--" && git reset HEAD~1'
alias grev='git revert' alias grev='git revert'
alias greva='git revert --abort'
alias grevc='git revert --continue'
alias grm='git rm' alias grm='git rm'
alias grmc='git rm --cached' alias grmc='git rm --cached'
alias gcount='git shortlog --summary --numbered' alias gcount='git shortlog --summary --numbered'