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
@@ -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` |
|
||||
|
||||
Reference in new issue
Block a user