Git push current branch by default
Simply run:
git config push.default current
Now, git push will automatically push your current branch to master.
Written by Russell
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Github
Authors
jjperezaguinaga
90.17K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#