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


然后就可以很愉快的把远程修改的文件 更新到本地了
本文介绍了一种在使用Git过程中遇到的“当前分支未配置拉取”错误,并提供了详细的解决方案,包括修改Git配置文件的具体步骤。

1752

被折叠的 条评论
为什么被折叠?



