Get GIT To Use Origin/master Default

Posted by Weston Ganger

I got annoyed having to add the branch when pushing or pulling because on certain projects its only origin/master


git branch --set-upstream-to origin/master
# OR When Pushing
git push -u origin master

Now you can simply use git pull or git push
Related External Links:

Article Topic:Software Development - Linux

Date:August 27, 2015

Recommended Posts