小白学习笔记之Git 使用问题
克隆Git项目报错
$ git clone https://github.com/******.git
Cloning into '******'...
remote: Enumerating objects: 4486, done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 6865 bytes of body are still expected
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方案
# 为 git 添加配置项,通过下面的命令可以简单完成
# 在这之前可以执行 git config -l 命令看看已有配置项有哪些
git config --add core.compression -1
问题