Last Updated: February 25, 2016
·
343
· orlando

Push only current branch to remote

when doing git push origin without specifying the branch, by default it will push all your local branches to the remote, if you set

git config --global push.default current

will only push the current branch.