1.clone时使用快速克隆方式

报错代码:error: RPC failed; curl 18 transfer closed with outstanding read data remaining

因为git中config的url出错
在这里插入图片描述
删除.cnpmjs.org,回归原始路径,再次提交就可以了

2.http.postBuffer参数过小

在git命令行窗口执行命令:

git config --global http.postBuffer 524288000   

调整postbuffer为500M

524288000 = 500 * 1024 * 1024 可根据自身情况设定

3.关闭验证

在git命令行窗口执行命令:

git config --global http.sslVerify false
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐