Git异常The remote end hung up unexpectedly解决方案

场景git

        $ git clone https://github.com/shimat/opencvsharp.git
Cloning into 'opencvsharp'...
remote: Enumerating objects: 135, done.
remote: Counting objects: 100% (135/135), done.
remote: Compressing objects: 100% (90/90), done.
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failedgithub


解决方案网络

            公司网络慢所以设置git配置参数,不然所以超时退出curl

$ git config --global http.lowSpeedLimit 0ide

$ git config --global http.lowSpeedTime 999999post

$ git config --global http.postBuffer 5242880url

相关文章
相关标签/搜索