How do you get git to always pull from a specific branch?
Under [branch “master”], try adding the following to the repo’s Git config file (.git/config): [branch “master”] remote = origin merge = refs/heads/master This tells Git 2 things: When you’re on the master branch, the default remote is origin. When using git pull on the master branch, with no remote and branch specified, use the default … Read more