Fix git push upstream

The option to send the branch to the upstream is -u or --set-upstream. Using git push upstream will try to send a branch named upstream to origin.
This commit is contained in:
Caetano D'Araujo 2016-12-15 16:26:28 +00:00 committed by GitHub
commit 8a7c7f16dc

View file

@ -190,7 +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 gpu='git push upstream' alias gpu='git push -u'
alias gpv='git push -v' alias gpv='git push -v'
alias gr='git remote' alias gr='git remote'