RPC failed;curl 92 HTTP/2 stream 0 was not
closed 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
拉取代码失败,看提示信息,过早的结束了,
可能的问题:
1、仓库较大,分支很多,导致拉取时间较长,解决方法
设置超时时间,加倍
在gitbash 中设置超时时间
git config --global http.postBuffer 600000
2、仓库中存在单个较大文件超过默认大小
git config --global http.postBuffer 104857600
或者在.gitconfig 文件中设置postBuffer = 104857600