Add gpsuo git alias

This alias is for pushing a new git branch to the origin remote.
This commit is contained in:
Matt Sicker 2016-12-03 20:21:49 -06:00
parent 6ee6a734c2
commit 9ab5dad39e

View File

@ -190,6 +190,7 @@ alias gp='git push'
alias gpd='git push --dry-run' alias gpd='git push --dry-run'
alias gpoat='git push origin --all && git push origin --tags' alias gpoat='git push origin --all && git push origin --tags'
compdef _git gpoat=git-push compdef _git gpoat=git-push
alias gpsuo='git push --set-upstream origin $(current_branch)'
alias gpu='git push upstream' alias gpu='git push upstream'
alias gpv='git push -v' alias gpv='git push -v'