eclipse git pull : The current branch is not configured for pull No value for key branch.master.merge found in config
原创 xingfu2017 发表于:2018-02-23 13:11:20
  阅读 :247   收藏   编辑

eclipse用git pull的出错!

编辑项目目录的下 .git/config 文件

查看是否有以下内容:

[core]
    repositoryformatversion = 0
    filemode = false
    logallrefupdates = true
[branch "master"]
    remote = origin
    merge = refs/heads/master
[branch "master.merge"]
    remote = origin
    merge = refs/heads/master
[remote "origin"]
url = 你的git地址
fetch = +refs/heads/*:refs/remotes/origin/*

保存,在执行pull操作