Get GIT To Use Origin/master Default

Posted by Weston Ganger on August 27, 2015

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:

Posted in Linux and Tagged with linux git 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts