Comment on Minimum Viable Git for Trunk-Based DevelopmentparentComments−knff3ySlightly off topicget 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...−JamesSwift3yI just added an alias alias gpush='git push --set-upstream origin $( git branch --show-current )'−LadyCailin3y`git push -u origin HEAD` also works!
Comments
Slightly off topic
But you might like this https://git-scm.com/docs/git-config#Documentation/git-config...
I just added an alias
`git push -u origin HEAD` also works!