1.报错

git Unable to access ‘https://github.com/xxxx/xxxx.git/’:OpenSSL SSL_read:Connection was reset

Failed to connect to github.com port 443: Connection timed out

1.1解决方案

法1,换网络。

法2,修改git配置的方案,具体命令是 git config --global http.sslVerify false

2.报错

error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

2.1解决方案

下载文件太大,需扩充限制。

git init

git config http.postBuffer 524288000