首页 > 代码库 > 在eclipse中使用git的pull功能时报错解决办法

在eclipse中使用git的pull功能时报错解决办法

打开项目的 .git/config文件,参照以下进行编辑

[core]    symlinks = false    repositoryformatversion = 0    filemode = false    logallrefupdates = true    [branch "master"]        remote = origin        merge = refs/heads/master    [remote "origin"]         url = https://github.com/用户名/项目名.git(即项目的git路径)        fetch = +refs/heads/*:refs/remotes/origin/*        push = +refs/heads/master:refs/heads/master

 

在eclipse中使用git的pull功能时报错解决办法