github clone报错error: RPC failed; result=56, HTTP code = 200

报错信息为:

error: RPC failed; result=56, HTTP code = 200

fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Google后知道:

Error code 56 indicates a curl receive error of CURLE_RECV_ERROR which means there was some issue that prevented the data from being received during the clone process. Typically this is caused by a network setting, firewall, VPN client, or anti-virus that is terminating the connection before all data has been transferred.

解决方法:
方法一、可以尝试重新 git clone xxxxx
方法二、 git config --global http.postBuffer 2Mgit config --global http.postBuffer 24288000

转载自:https://blog.csdn.net/jcchri/article/details/52794710

猜你喜欢

转载自blog.csdn.net/m0_37468171/article/details/89585175
今日推荐