Merge pull request #1526 from davidpfarrell/aliases/git/git-switch

Aliases/git/git switch
This commit is contained in:
Nils Winkler
2020-03-29 16:30:25 +02:00
committed by GitHub

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 --create"
alias gswt="git switch --track"
alias gh='cd "$(git rev-parse --show-toplevel)"'
# Show untracked files
alias gu='git ls-files . --exclude-standard --others'