by knff · 3y ago · 0 comments
> get yelled at about --set-upstream, and copy/paste that command :-)
But you might like this https://git-scm.com/docs/git-config#Documentation/git-config...
alias gpush='git push --set-upstream origin $( git branch --show-current )'