git拉取堆栈失败RPC failed;curl 92 HTTP/2 stream 0 was notclosed clean
RPC failed;curl 92 HTTP/2 stream 0 was notclosed cleanly:CANCEL (err 8)
2497 bytes of body are still expected
fetch-pack:unexpected disconnect while
reading sideband packet
early EOF -- 关键信息
fetch-pack:invalid index-pack output
https://i-blog.csdnimg.cn/direct/769cf25f9a744ca79209ff9053938850.png
拉代替码失败,看提示信息,过早的竣事了,
可能的问题:
1、堆栈较大,分支很多,导致拉取时间较长,解决方法
设置超时时间,更加
在gitbash 中设置超时时间
git config --global http.postBuffer 600000
https://i-blog.csdnimg.cn/direct/1823b92c81cd4eda906c3f4812d3bd47.png
2、堆栈中存在单个较大文件凌驾默认巨细
git config --global http.postBuffer 104857600
或者在.gitconfig 文件中设置postBuffer = 104857600
https://i-blog.csdnimg.cn/direct/b9f4975039ce428f9c6285c4ec03d262.png
https://i-blog.csdnimg.cn/direct/31b17aaf1a44409d85a103a0bb34fe90.png
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]