Commit 0f6aa018 authored by Peter Babič's avatar Peter Babič Committed by Marc Cornellà
Browse files

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

Closes #8932
parent 3d6db326
...@@ -136,6 +136,7 @@ plugins=(... git) ...@@ -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' ...@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment