gitclone致命错误:RPC失败,远程端意外挂断,早期EOF



我正在尝试克隆一个存储库并开始使用它,所以我将u 磁带化

$ git clone https://github.com/VirtuOR/OpenTRILL

克隆开始

Cloning into 'OpenTRILL'...
remote: Counting objects: 46419, done.
remote: Compressing objects: 100% (42140/42140), done.

但它以以下错误结束

error: RPC failed; result=18, HTTP code = 200MiB | 55 KiB/s    
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

如有任何帮助,请

我知道它很晚了,但这是解决方案,

首先,让我们做一个部分克隆来截断下来的信息量:

git clone --depth 1 <url>

它将克隆具有最小git历史记录的存储库。然而,使用"–depth 1"进行克隆不会让您将更改后的内容推送到远程repo。现在用获取其余部分

git fetch --depth=1000000
(Update Oct/3/2013) for git version >= 1.8.3,
git fetch --unshallow

注意:

‘git fetch –unshallow’ is basically an alias for ‘git fetch –depth=2147483647′.

不能保证从肤浅的克隆人那里推;建议的工作流程是从浅层克隆提交一个补丁(git格式补丁)。尽管gitclone手册规定浅层克隆不能推送,但在浅层克隆和原始克隆之间有一个共同的提交历史记录将允许浅层克隆推送通过。但请注意,如果源重新处理提交历史记录,您的浅层克隆将遇到麻烦。(来源文章:why-cant-i-push-from-a-shape-clone)。

请确保问题仍然存在,因为GitHub今天遇到了一些问题
查看其GitHub状态历史页面:

Today
6:52 UTC Everything operating normally.
6:50 UTC Some GitHub pages are again unavailable. We are continuing to investigate. 

我可以在没有任何故障的情况下克隆你的repo(刚才),但在Windows上,使用git1.8.3。

检查您是否可以升级git版本,看看问题是否仍然存在。

最新更新