Git hub pull时候的错误 : The current branch is not configured for pull No value for key branch.master.merge found in configuration

时间:2022-01-14 14:20:45

网上多半都是命令行下的解决方案,我用的是EGit,所以要在eclipse里(我的版本是kepler)把下面这句话添加到配置文件中.

Window->Preference->Team->Git->Configuration->Repository Settings->选择你的repository,然后点open

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

Git hub pull时候的错误 : The current branch is not configured for pull No value for key branch.master.merge found in configuration