eclipse git报错git The current branch is not configured for pull No value for key branch.master.merge

  • eclipse中使用git提交或者pull报错:
git  The current branch is not configured for pull No value for key branch.master.merge found in configur
  • 解决办法:
    修改你本地仓库的配置文件.git/config文件内容
[core]
    repositoryformatversion = 0
    filemode = false
    logallrefupdates = true
[branch "master"] 
    remote = origin 
    merge = refs/heads/master 
[remote "origin"] 
    url = https://gitee.com/apple_1030907690/CeShi2.git
    fetch = +refs/heads/*:refs/remotes/origin/*

这里的url = https://gitee.com/apple_1030907690/CeShi2.git地址是你的仓库地址

posted on 2017-10-31 21:26  愤怒的苹果ext  阅读(35)  评论(0编辑  收藏  举报

导航