在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
原文地址:https://www.cnblogs.com/qlong8807/p/6098406.html