论坛首页 Java企业应用论坛

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

浏览 4336 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2013-10-25  

1.背景:

 

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

 

   

 

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

 

 



 

 

 



 

 

 

 

 

 

2.解决步骤

 

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

 

--->repository settings

 

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

 

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

 

 

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

 

 

 

 

 



 

 

 



 

 

 

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

 

 

  • 大小: 126.2 KB
  • 大小: 22 KB
  • 大小: 65.7 KB
  • 大小: 16.7 KB
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics