Last Updated: February 25, 2016
·
665
· sheerun

git push current branch name

If you want to push some feature, and don't want to write feature name after git push origin. You can set following global option:

git config --global push.default current

From now one, you just need to type git push to publish.