git clone错误 fatal: early EOF fatal: index-pack failed
最后用ssh的方式解决了,不用http
https://blog.csdn.net/fastjack/article/details/79757520
用了以下的方法还是不行
今天想 clone 一下 boost 在 github 的 repo,结果在 clone 的过程中遇到了下面的错误。我原本以为是网络原因,今天学校网速废成渣了,很多同学都去网吧撸去了,所以就 retry 了一次。还是出现了下面的错误,然后就不得不 google 去了。
$ git clone https://github.com/boostorg/boost.git
Cloning into 'boost'...
remote: Counting objects: 183543, done.
remote: Compressing objects: 100% (69361/69361), done.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
后来 google 到的参考如下:
- git clone fails with \"index-pack\" failed?
- Git checking out problem [fatal: early EOFs]
特别是第一篇(第一个QA),应该跟我的情况最为符合,不过我尝试了第二个 QA 中Voket 的回答给出的解决方案。因为我在 Windows 下的 Git 作的这个死。在这里就简单记录一下这个解决方案。
# 为 git 添加配置项,通过下面的命令可以简单完成
# 在这之前可以执行 git config -l 命令看看已有配置项有哪些
git config --add core.compression -1git config --global --add core.compression -1(全局)
上面是通过命令来完成的,很方便,当然可以直接修改 .gitconfig 文件(在用户目录下),如果你愿意的话。部分内容如下:
[user]name = Ggicciemail = ...
[core]compression = -1
在 [core] 这个 section 里面添加 compression 属性即可。至于它的取值可以参考 Git Config Manpage,这个页面你可以通过man git config
(Linux) 或者 git config --help
(windows)来查看本地版本。
转载于:https://www.cnblogs.com/twoheads/p/9922535.html
git clone错误 fatal: early EOF fatal: index-pack failed相关推荐
- linux git 问题:fatal: early EOF fatal: The remote end hung up unexpectedly fatal: index-pack failed
linux从github git较大的文件时出现的问题,查找以下,暂时关闭防火墙可行,或许还有其他好的解决办法,暂时记录下: 出现问题: git clone --recursive https://g ...
- fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack:
fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: ...
- 下载unreal代码出现fatal: early EOF fatal: index-pack failed解决办法
一般这种情况都是因为项目分支过多,导致你要下载的东西太多,从而引起这个问题.网上有一个流传比较多的修改方案: git config --global core.compression -1 使用上述命 ...
- git clone错误 fatal: early EOF fatal: index-pack failed
方案一. git config --global http.postBuffer 524288000 # 为 git 添加配置项,通过下面的命令可以简单完成 # 在这之前可以执行 git config ...
- early EOF fatal: index-pack failed
early EOF fatal: index-pack failed 原文链接: https://stackoverflow.com/questions/21277806/fatal-early-eo ...
- git clone错误
git clone错误 Initialized empty Git repository in ***/.git/ error: The requested URL returned error: 4 ...
- git clone失败:Cloning into... fatal: unable to access... error setting certificate verify locations
参考链接:others-How to solve 'gnutls_handshake() failed' error when doing 'git clone' from github.com ? ...
- Git Clone错误解决【GnuTLS recv error (-110): The TLS connection was non-properly terminated.】
报错信息如下: Cloning into 'gramine'... fatal: unable to access 'https://github.com/gramineproject/gramine ...
- git clone early EOF解决方法
在git clone时经常会遇到 early EOF这种错误. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: i ...
最新文章
- 《Linux内核分析》实验一
- 一次批量修改博客文章的经验(下):操作过程
- 我眼中的 Nginx(六):深入 Nginx/Openresty 服务里的 DNS 解析
- Oracle 数据库之最:你见过最高的 SQL Version 是多少?
- php声波模拟开门,关于 php使用扩展控制树莓派io 驱动超声波测距
- java 接口可以多继承
- html getelementbyid 修改图片_如何使用HTML、CSS和JS轻松构建桌面应用程序
- Linux开机启动过程(12):start_kernel()->还是setup_arch
- alwayson高可用组_AlwaysOn可用性组–如何在集群实例和独立实例之间设置AG(第2部分)
- 一个月薪两万的Web安全工程师要掌握哪些技能?
- 银行家算法的数组方式实现
- 《流畅的Python第二版》读书笔记——序列数组
- linux 显存占用内存,Linux服务器内存、CPU、显卡、硬盘使用情况查看
- centos 卸载 jdk
- 常用iOS URL Scheme附录 大全
- Exchange 2010升级到Exchange 2016汇总
- 页面中插入视频的方法---video/embed/iframe总结
- 文华财经期货指标短线精灵,期货多空信号5分钟K线战法短线操作技巧
- 五角星是不是旋转对称图形_在线等。很简单,五角星是不是中心对称图形?
- SyntaxError报错成功解决
热门文章
- 20162313苑洪铭 第二周作业
- Codeforces Round #155 (Div. 2)
- MSIL 教程(三):类和异常处理(转)
- Spring冲刺计划会议
- Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB
- 秒杀苹果carplay baidu车联网API冷艳北京车展
- 【C++ Primer学习笔记】第1章:快速入门
- asp.net 2.0 简单实现url重写
- 类中的关键字public、protected、private究竟是什么意思?
- acwing算法题--01背包问题