Add git switch aliases (gsw*)
parent
52123d5072
commit
30ae4d9e5f
|
|
@ -87,6 +87,11 @@ alias gstb="git stash branch"
|
||||||
alias gstd="git stash drop"
|
alias gstd="git stash drop"
|
||||||
alias gstl="git stash list"
|
alias gstl="git stash list"
|
||||||
alias gstp="git stash pop"
|
alias gstp="git stash pop"
|
||||||
|
# Switch aliases - Requires git v2.23+
|
||||||
|
alias gsw="git switch"
|
||||||
|
alias gswm="git switch master"
|
||||||
|
alias gswc="git switch -c"
|
||||||
|
alias gswt="git switch -t"
|
||||||
alias gh='cd "$(git rev-parse --show-toplevel)"'
|
alias gh='cd "$(git rev-parse --show-toplevel)"'
|
||||||
# Show untracked files
|
# Show untracked files
|
||||||
alias gu='git ls-files . --exclude-standard --others'
|
alias gu='git ls-files . --exclude-standard --others'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue