• Git: fatal: The remote end hung up unexpectedly


    嗯嗯,今天很衰了。

    突然发现前几天完全是乱搞,今天文哥说我git用的不对,于是重新,git。

    然后经过千万次的尝试,依旧无疾而终。罪魁祸首便是

    error: RPC failed; result=18, HTTP code = 200 KiB/s       
    fatal: The remote end hung up unexpectedly
    fatal: 过早的文件结束符(EOF)1.62 MiB | 4.00 KiB/s   
    fatal: index-pack failed

    分析原因如下:

    1. 网速过慢

    2. 文件过大

    我的情况应该属于,后者。

    虽然80%依旧很慢,但终于成功了。【哭】

    解决方案:

    git config --global http.postBuffer 524288000
    # some comments below report having to double the value:
    git config --global http.postBuffer 1048576000

    参考:http://blog.csdn.net/oshuangyue12/article/details/78882151

    ---------------------------------------------------------------------------------------------------------------

    更改于1小时后,

    虽然,linux下很幸运clone下来,但是win10下依旧发生了错误:

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

    继续百度之,得到另一个方案,在c:\programdatagit找到config文件,修改core中,添加compression=-1

    查到此参数设置压缩的,故猜想,可能还是文件太大,虽然还不是很清楚【继续哭】

    参考:

    http://blog.csdn.net/u012635819/article/details/50906711

    http://blog.csdn.net/realdonaldtrump/article/details/78925691

  • 相关阅读:
    爬虫第二篇:爬虫详解之存储数据
    数据分析第六篇:机器学习分类
    数据分析第五篇:数据库多表连接操作
    数据分析第四篇:数据清洗
    pyspark搭建使用
    YARN 调度器
    InnoDB: Error: page xxx log sequence number xx xxx InnoDB: is in the future! Current system log sequence number xx xxx.
    瞬时连接所属进程
    NTP工作原理
    kudu NTP问题优化
  • 原文地址:https://www.cnblogs.com/meowyeon/p/8613361.html
Copyright © 2020-2023  润新知