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:
committed 2026-11-27 18:35:46 -08:00
1 parent e7a67d2e80
commit adf9eeea22
2 files changed
+2

No files matched your search

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