Last Updated: February 25, 2016
·
224
· d1b1

Git push with Current Branch

Long branch names can be a pain. Git config allows the developer to specify the behavior for a 'git push origin' command. Using the following lets a push use the current branch.

git config --global push.default current