DEV Community

Discussion on: My Personal Git Tricks Cheatsheet

Collapse
 
mliq profile image
Michael Liquori

You can simply do git push -u origin HEAD and not have to mess around with evaluating the branch name.