Add git switch aliases (gsw*)

pull/1526/head
David Farrell 2020-03-25 09:49:51 -07:00
parent 52123d5072
commit 30ae4d9e5f
No known key found for this signature in database
GPG Key ID: 1CCA28D0E300B56F
1 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,11 @@ alias gstb="git stash branch"
alias gstd="git stash drop"
alias gstl="git stash list"
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)"'
# Show untracked files
alias gu='git ls-files . --exclude-standard --others'