当前位置:   article > 正文

成功解决使用git clone下载失败的问题: fatal: 过早的文件结束符(EOF) fatal: index-pack 失败_fatal: the remote end hung up unexpectedly fatal:

fatal: the remote end hung up unexpectedly fatal: 过早的文件结束符(eof) fata

问题描述

~$ git clone https://github.com/oKermorgant/ecn_baxter_vs.git 
正克隆到 'ecn_baxter_vs'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (10/10), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: 过早的文件结束符(EOF)
fatal: index-pack 失败
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

解决方案

$ git config --global http.postBuffer 524288000
$ git config --list
http.postbuffer=524288000
  • 1
  • 2
  • 3

问题解决

~$ git clone https://github.com/oKermorgant/ecn_baxter_vs.git 
正克隆到 'ecn_baxter_vs'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 221 (delta 1), reused 7 (delta 1), pack-reused 208
接收对象中: 100% (221/221), 1.88 MiB | 4.00 KiB/s, 完成.
处理 delta 中: 100% (97/97), 完成.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/723730
推荐阅读
相关标签
  

闽ICP备14008679号