-
错误
错误:RPC 失败。curl 18 HTTP/2 stream 5 was reset 错误:预期仍然需要 70 个字节的正文 fetch-pack: unexpected disconnect while reading sideband packet 致命错误:过早的文件结束符(EOF) 致命错误:fetch-pack:无效的 index-pack 输出 Exception: Git clone failed -
查看配置
$ git config --list --show-origin... file:/Users/dengzemiao/.gitconfig http.postbuffer=5242880000 file:/Users/dengzemiao/.gitconfig http.lowspeedlimit=0 file:/Users/dengzemiao/.gitconfig http.lowspeedtime=999999 ...直接将现有的
http.postbuffer=5242880000后面再加个0 -
配置,
Git下载较大文件时会遇到缓冲区大小问题,可以通过增加HTTP缓冲区的大小来避免此错误$ git config --global http.postBuffer 52428800000