报错信息为:
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 2M
或git config --global http.postBuffer 24288000