Add gpub (publish) alias

Alias for publishing a local branch to remote and set tracking
This commit is contained in:
Xavier Haniquaut 2015-10-19 11:33:44 +02:00
parent aa15ebad3e
commit 0afa4fe1f8
1 changed files with 1 additions and 0 deletions

View File

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