我尝试使用 msysgit 1.8.1 进行拉取(也尝试使用 1.7.10 和 .11,结果相同),但总是收到一个我不知道如何调试/解决的错误:
E:\java\myproject>git pull
Enter passphrase for key '/E/my-private-key':
remote: Counting objects: 200, done.
remote: Compressing objects: 100% (97/97), done.
rRemote: Total 115 (delta 66), reused 0 (delta 0)
Receiving objects: 100% (115/115), 12.25 KiB, done.
Resolving deltas: 100% (66/66), completed with 34 local objects.
From ssh://myserver:12345/myproject
50e90d7..d24b154 release-4.5 -> origin/release-4.5
58625d6..960fcc6 develop -> origin/develop
* [new branch] release/4.6 -> origin/release/4.6
* [new tag] 4.6-rc-1 -> 4.6-rc-1
Fetching submodule src/jgit/main
fatal: read error: Invalid argument
E:\java\myproject>
Between
Fetching submodule src/jgit/main
and
fatal: read error: Invalid argument
大约需要 5 分钟(超时?)。
还有什么奇怪的是,这一行以rRemote
- msysgit 中的错误?
克隆/拉取ssh://myserver:12345/myproject
效果很好。
但是从记录中的url中提取.gitmodules
该存储库的文件,用于子模块“src/jgit/main
” 没有。
检查所述 url,并查看另一个协议(例如 https 而不是 ssh)是否可以工作(同样,对于子模块的 url,如.gitmodules
您刚刚拉取的存储库的文件)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)