mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
feat(git): add grst alias for git restore --staged
(#8932)
Closes #8932
This commit is contained in:
parent
3d6db32610
commit
0f6aa0182c
2 changed files with 2 additions and 0 deletions
|
@ -136,6 +136,7 @@ plugins=(... git)
|
||||||
| grs | git restore |
|
| grs | git restore |
|
||||||
| grset | git remote set-url |
|
| grset | git remote set-url |
|
||||||
| grss | git restore --source |
|
| grss | git restore --source |
|
||||||
|
| grst | git restore --staged |
|
||||||
| grt | cd "$(git rev-parse --show-toplevel \|\| echo .)" |
|
| grt | cd "$(git rev-parse --show-toplevel \|\| echo .)" |
|
||||||
| gru | git reset -- |
|
| gru | git reset -- |
|
||||||
| grup | git remote update |
|
| grup | git remote update |
|
||||||
|
|
|
@ -236,6 +236,7 @@ alias grrm='git remote remove'
|
||||||
alias grs='git restore'
|
alias grs='git restore'
|
||||||
alias grset='git remote set-url'
|
alias grset='git remote set-url'
|
||||||
alias grss='git restore --source'
|
alias grss='git restore --source'
|
||||||
|
alias grst='git restore --staged'
|
||||||
alias grt='cd "$(git rev-parse --show-toplevel || echo .)"'
|
alias grt='cd "$(git rev-parse --show-toplevel || echo .)"'
|
||||||
alias gru='git reset --'
|
alias gru='git reset --'
|
||||||
alias grup='git remote update'
|
alias grup='git remote update'
|
||||||
|
|
Loading…
Reference in a new issue