Under [branch "master"]
, try adding:
[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 remote (origin) and merge in the changes from the master branch.
ref:
http://stackoverflow.com/questions/658885/how-do-you-get-git-to-always-pull-from-a-specific-branch
没有评论:
发表评论