elocxg
Last Updated: February 25, 2016
·
387
· iamjarvo

Git push current branch without specifying branch name

Ever wanted to do following to push the current checked out branch?

git push origin

Run the following command in your terminal:

git config --global push.default current