热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

git报错:earlyEOFTheremoteendhungupunexpectedlyindexpackfailedRPCfailed

问题报错全部信息:earlyEOFTheremoteendhungupunexpectedlyindex-packfailedRPCfailed;curl18transfercl

问题报错全部信息:

early EOF The remote end hung up unexpectedly index-pack failed RPC failed; curl 18 transfer closed 

参考链接:

git - fatal: early EOF fatal: index-pack failed - Stack Overflow

今天想 clone 在 github 的 hadoop工程,结果在 clone 的过程中遇到了下面的错误。
地址: GitHub - apache/hadoop: Apache Hadoop

解决方案

https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed

First, turn off compression:

git config --global core.compression 0
1
Next, let’s do a partial clone to truncate the amount of info coming down:

git clone --depth 1
1
When that works, go into the new directory and retrieve the rest of the clone:

git fetch --unshallow 
1
or, alternately,

git fetch --depth=2147483647
1
Now, do a regular pull:

git pull --all
1
I think there is a glitch with msysgit in the 1.8.x versions that exacerbates these symptoms, so another option is to try with an earlier version of git (<&#61; 1.8.3, I think).



推荐阅读
author-avatar
2602886047_967
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有