No value for key branch.master.merge found in configuration

1.背景:

 

    最近在鼓捣github, pull git内容到本地, 发现这样的异常

 

   

 

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

 

 


No value for key branch.master.merge found in configuration_第1张图片
 

 

 


No value for key branch.master.merge found in configuration_第2张图片
 

 

 

 

 

 

2.解决步骤

 

window-->preferences--->Team--->git--->configuration

 

--->repository settings

 

打开这个项目的 git 配置文件,  里面增加 点git 配置内容 

 

自己修改下 自己项目的remote.origin.url 路径地址

 

 

[branch "master"]
	remote = origin
	merge = refs/heads/master
	
[remote "origin"]
	url = [email protected]:venusdrogon/feilong-platform.git
	fetch = +refs/heads/*:refs/remotes/origin/*
	push = refs/heads/master:refs/heads/master

 

 

 

 

 


No value for key branch.master.merge found in configuration_第3张图片
 

 

 


No value for key branch.master.merge found in configuration_第4张图片
 

 

 

然后就可以很愉快的把远程修改的文件 更新到本地了

 

 

你可能感兴趣的:(github,git,egit)