Define master as default branch
just type the next command in your console to sync your master and origin/master
git branch --set-upstream master origin/master
After that even if you have lots of branch on your repo you just have to do
git pull
git push
To update your local or the remote
Written by Florent VIEL
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#