首页 > 代码库 > Eclipse git pull 报Nothing to fetch 异常原因
Eclipse git pull 报Nothing to fetch 异常原因
eclipse git pull 报错
// 使用这个配置会有 org.eclipse.jgit.api.errors.TransportException: Nothing to fetch. 异常
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin"]
url = https://code.jd.com/tree_new_bee/MySinaWeiboApp.git
fetch = +refs/heads/*:refs/remotes/origin/*
//问题解决:
// 使用这个配置就可以正常pull了
[core]
symlinks = false//增加了这一样,具体为什么还不知道,对这些参数也不了解, 希望有了解的朋友分享下。
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin"]
url = https://code.jd.com/tree_new_bee/MySinaWeiboApp.git
fetch = +refs/heads/*:refs/remotes/origin/*
Eclipse git pull 报Nothing to fetch 异常原因