【问题】git clone卡住

问题描述

error: RPC failed; result=35, HTTP code = 0
fatal: The remote end hung up unexpectedly

解决

参考链接:http://www.csuper.cn/?id=922
注意:将https改成git这方法不行,因为github现在已经不支持此方法了

远程便捷HTTP传输请求数据时最大的缓存字节数,默认时1M字节,默认能满足大多数请求。

git clone大文件,需要配置git缓存值,
sudo git config --global http.postBuffer 524288000

结果

成功

posted @ 2022-03-17 12:00  NanHe7  阅读(1608)  评论(0编辑  收藏  举报