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
然后就可以很愉快的把远程修改的文件 更新到本地了