Add git switch aliases (gsw*)

This commit is contained in:
David Farrell
2020-03-25 09:49:51 -07:00
parent 52123d5072
commit 30ae4d9e5f

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'