首页 > 代码库 > eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found

eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found

eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found in configuration


如图:


这是因为 在用gui创建分支的时候 config文件没有创建branch

在config文件加上

[branch "xxx"]
remote = origin
merge = refs/heads/xxx

即可