mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-28 11:23:03 +01:00
feat(git): add grpa alias for git reset --patch
The counterpart to `gapa` (`git add --patch`): unstage hunks interactively. Originally proposed in #11295. Co-authored-by: Carl Nimhed <carl.nimhed@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e7a67d2e80
commit
adf9eeea22
2 files changed
+2
No files matched your search
@@ -378,6 +378,7 @@ alias gru='git reset --'
|
||||
alias grhh='git reset --hard'
|
||||
alias grhk='git reset --keep'
|
||||
alias grhs='git reset --soft'
|
||||
alias grpa='git reset --patch'
|
||||
alias gpristine='git reset --hard && git clean --force -dfx'
|
||||
alias gwipe='git reset --hard && git clean --force -df'
|
||||
alias groh='git reset origin/$(git_current_branch) --hard'
|
||||
|
||||
Reference in new issue
Block a user