Compare commits

...
Author SHA1 Message Date
adf9eeea22 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>
2026-11-27 18:35:46 -08:00
2 changed files with 2 additions and 0 deletions

No files matched your search

+1
View File
@@ -177,6 +177,7 @@ plugins=(... git)
| `grhh` | `git reset --hard` | | `grhh` | `git reset --hard` |
| `grhk` | `git reset --keep` | | `grhk` | `git reset --keep` |
| `grhs` | `git reset --soft` | | `grhs` | `git reset --soft` |
| `grpa` | `git reset --patch` |
| `gpristine` | `git reset --hard && git clean --force -dfx` | | `gpristine` | `git reset --hard && git clean --force -dfx` |
| `gwipe` | `git reset --hard && git clean --force -df` | | `gwipe` | `git reset --hard && git clean --force -df` |
| `groh` | `git reset origin/$(git_current_branch) --hard` | | `groh` | `git reset origin/$(git_current_branch) --hard` |
+1
View File
@@ -378,6 +378,7 @@ alias gru='git reset --'
alias grhh='git reset --hard' alias grhh='git reset --hard'
alias grhk='git reset --keep' alias grhk='git reset --keep'
alias grhs='git reset --soft' alias grhs='git reset --soft'
alias grpa='git reset --patch'
alias gpristine='git reset --hard && git clean --force -dfx' alias gpristine='git reset --hard && git clean --force -dfx'
alias gwipe='git reset --hard && git clean --force -df' alias gwipe='git reset --hard && git clean --force -df'
alias groh='git reset origin/$(git_current_branch) --hard' alias groh='git reset origin/$(git_current_branch) --hard'