feat(git): add reset aliases grhk and grhs (#11896)

This commit is contained in:
Adam Johnson
2023-09-26 08:31:32 +01:00
committed by GitHub
parent e2b855341b
commit 4fb5d02db9
2 changed files with 4 additions and 0 deletions

View File

@@ -163,6 +163,8 @@ plugins=(... git)
| `grh` | `git reset` |
| `gru` | `git reset --` |
| `grhh` | `git reset --hard` |
| `grhk` | `git reset --keep` |
| `grhs` | `git reset --soft` |
| `gpristine` | `git reset --hard && git clean -dffx` |
| `groh` | `git reset origin/$(git_current_branch) --hard` |
| `grs` | `git restore` |