1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-21 07:20:09 +00:00

feat(git): add grst alias for git restore --staged (#8932)

Closes #8932
This commit is contained in:
Peter Babič 2020-05-15 11:01:18 +02:00 committed by Marc Cornellà
parent 3d6db32610
commit 0f6aa0182c
2 changed files with 2 additions and 0 deletions

View file

@ -136,6 +136,7 @@ plugins=(... git)
| grs | git restore |
| grset | git remote set-url |
| grss | git restore --source |
| grst | git restore --staged |
| grt | cd "$(git rev-parse --show-toplevel \|\| echo .)" |
| gru | git reset -- |
| grup | git remote update |

View file

@ -236,6 +236,7 @@ alias grrm='git remote remove'
alias grs='git restore'
alias grset='git remote set-url'
alias grss='git restore --source'
alias grst='git restore --staged'
alias grt='cd "$(git rev-parse --show-toplevel || echo .)"'
alias gru='git reset --'
alias grup='git remote update'