1.git clone http://*******
报错,the remote end hung up unexpectedly
由于总所周知的原因,git clone的速度很慢,导致 git clone超时,做如下修改
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
修改最低速度与最低时间
这样就正常了
2.
对于在git上面拉代码报"error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054"解决方法
主要原因是安全设置的问题:
做该设置: git config --globle http.sslVerify "false"
3. git clone 报: RPC failed; curl 18 transfer closed with outstanding read data remaining
原因1:缓存区溢出
配置:git config http.postBuffer 524288000
4. 有时候可以这样
git clone --depth=1 http://gitlab.xxx.cn/yyy/zzz.git
git fetch --unshallow
调节深度为1层,之后,在更新远程库
5. git clone GitHub 的速度奇慢无比。加DNS也不管用。使用下面的方法:
码云代理:
登录该网站,在该网站上搜索 ,github上的 项目地址,找到对应的项目,gitclone即可。
比如下载linux内核:
git clone https://gitee.com/src_res/linux.git 即可