git拉取时间过长或项目过大

报错:error: RPc failed; curl 18 transfer closed with outstanding read data remaining
error: 1289 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal:fetch-pack: invalid index-pack output

//global配置对当前用户生效,如果需要对所有用户生效,则用–system
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999 //单位 秒
posted on 2024-12-30 20:29  CharXL  阅读(121)  评论(0)    收藏  举报