diff --git a/plugins/git/README.md b/plugins/git/README.md index b7f216813..029386267 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -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 | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index e32136f15..2f97dbc92 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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'