Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
0f6aa018
Commit
0f6aa018
authored
May 15, 2020
by
Peter Babič
Committed by
Marc Cornellà
Jan 01, 2021
Browse files
feat(git): add grst alias for `git restore --staged` (#8932)
Closes #8932
parent
3d6db326
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/git/README.md
View file @
0f6aa018
...
...
@@ -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 |
...
...
plugins/git/git.plugin.zsh
View file @
0f6aa018
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment