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



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected