解决Git clone时The remote end hung up unexpectedly fatal: early EOF的问题

/ 3评 / 0

在git clone项目的时候碰到这样一个错误:

git clone git@gitee.com:chengfengGit/blog.git
Cloning into 'blog'...
The authenticity of host 'gitee.com (120.55.226.24)' can't be established.
ECDSA key fingerprint is SHA256:FQGC9Kn/eye1W8icdBgrQp+KkGYoFgbVr17bmjey0Wc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gitee.com,120.55.226.24' (ECDSA) to the list of known hosts.
remote: Counting objects: 4389, done.
remote: Compressing objects: 100% (3238/3238), done.
packet_write_wait: Connection to 120.55.226.24 port 22: Broken pipe
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

网上找了下,解决方法如下:

git config --global core.compression 0

退出重新登录就好了。

碰到了两次,记录下,免得每次都去找

3条回应:“解决Git clone时The remote end hung up unexpectedly fatal: early EOF的问题”

  1. 啾啾说道:

    2019/5/14
    10:08 Fetch failed
    early EOF
    The remote end hung up unexpectedly
    index-pack failed
    改成0了还是一样解决不了啊,楼主还有什么招吗?

  2. 45tertiary说道:

    完美解决了我的问题,感谢楼主分享

发表评论

电子邮件地址不会被公开。 必填项已用*标注