egt、GetHub更新本地No value for key branch.master.merge found in configuration

来源:互联网 发布:中路火男打js好打吗 编辑:程序博客网 时间:2024/06/06 16:29

**在网站上面修改了代码以后想在电脑的eclipse上面更新代码时候出现以下错误

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

解决办法 - window-->preferences--->Team--->git--->configuration--->repository settings 打开这个项目的 git 配置文件, 里面增加 点git 配置内容 自己修改下 自己项目的remote.origin.url 路径地址 

[core]

repositoryformatversion = 0

filemode = true

logallrefupdates = true

precomposeunicode = true

[remote "origin"]

url = https://git.oschina.net/wzgiceman/AndroidTest.git

fetch = +refs/heads/*:refs/remotes/origin/*

[branch "master"]

remote = origin

merge = refs/heads/master


保存运行就ok了


0 0
原创粉丝点击