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
projectcleverweb
289.2K
jjperezaguinaga
90.23K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#