给 git push 和 git pull 设置默认仓库

git config –global branch.master.remote origin
git config –global branch.master.merge refs/heads/master

参考:
git pull的默认地址
How do you get git to always pull from a specific branch?

This entry was posted in Git. Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>