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.
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#