在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

 

posted @ 2016-11-24 16:38  火光闪耀  阅读(5595)  评论(0编辑  收藏  举报