今天在github修改文件之后想同步到本地工程,在eclipse中点击team–>pull时出现如下提示:
解决方法:
打开所在仓库的.git文件夹,修改config文件,加入如下参数:
[branch "master"]
remote = master
merge = refs/heads/master
[remote "master"]
url = github上该仓库的地址
fetch = +refs/heads/*:refs/remotes/origin/*