报错信息为:
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedlyfatal: 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 config --global http.postBuffer 2M