mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-08 22:54:42 +02:00
git: add aliases for git switch and restore (#8089)
This commit is contained in:
committed by
Marc Cornellà
parent
43ed0b455e
commit
de3b14cf69
@ -207,7 +207,9 @@ alias grm='git rm'
|
||||
alias grmc='git rm --cached'
|
||||
alias grmv='git remote rename'
|
||||
alias grrm='git remote remove'
|
||||
alias grs='git restore'
|
||||
alias grset='git remote set-url'
|
||||
alias grss='git restore --source'
|
||||
alias grt='cd "$(git rev-parse --show-toplevel || echo .)"'
|
||||
alias gru='git reset --'
|
||||
alias grup='git remote update'
|
||||
@ -236,6 +238,8 @@ alias gstp='git stash pop'
|
||||
alias gsts='git stash show --text'
|
||||
alias gstall='git stash --all'
|
||||
alias gsu='git submodule update'
|
||||
alias gsw='git switch'
|
||||
alias gswc='git switch -c'
|
||||
|
||||
alias gts='git tag -s'
|
||||
alias gtv='git tag | sort -V'
|
||||
|
Reference in New Issue
Block a user