设置git默认remote

多个remote混合工作。使用TortoiseGit提交代码时,遇到每次都要提交的remote不是想要的origin。

方法,修改.git/config

[branch "master"]
  remote = origin
  merge = refs/heads/master
posted @ 2014-04-23 16:13  samxu  阅读(1684)  评论(0)    收藏  举报