Eclipse git pull 报Nothing to fetch 异常原因
时间:2022-04-03 09:42
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 =
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 =
fetch = +refs/heads/*:refs/remotes/origin/*