Eclipse – Github Error: The current branch is not configured for pull No value for key branch.master.merge found in configuration

Error:

The current branch is not configured for pull No value for key branch.master.merge found in configuration

解决方法:

Eclipse -> Window -> Preferences

Search “Git” -> Configuration -> Repository -> Open

添加如下内容到打开的配置文件:

注: url 为当前你的 respository 地址

[core]

symlinks = false

repositoryformatversion = 0

filemode = false

logallrefupdates = true

[branch “master”]

remote = origin

merge = refs/heads/master

[remote “origin”]
url = https://github.com/LiloZhu/mydc_ext.git

fetch = +refs/heads/*:refs/remotes/origin/*

Leave a Comment