[Git Pull Error in Eclipse IDE] The current branch is not configured for pull No value for key branch.master.merge found in configuration

git branch 在 pull 的时候,给出错误提示,类似如下:

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

可以在Git Repositories窗口下,右击项目,选择属性,

按照如下配置:


[Git Pull Error in Eclipse IDE] The current branch is not configured for pull No value for key branch.master.merge found in configuration_第1张图片

1.添加key 和 value

Key = branch.master.remote

Value = origin

2.添加key 和 value

Key = branch.master.merge

Value = refs/heads/master

可以解决上述问题!

你可能感兴趣的:([Git Pull Error in Eclipse IDE] The current branch is not configured for pull No value for key branch.master.merge found in configuration)