从GitLab上pull项目
今天从GitLab上pull项目的时候出现了一个错:
$ git pull origin master
remote: Counting objects: 369, done.
remote: Compressing objects: 100% (116/116), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
根据error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054这一行为关键字进行搜索,得到如下解决办法:
出现此问题有可能是上传大小限制:
执行如下命令
git config http.postBuffer 524288000
524288000算法:
1024*1024*500
出现如下错误:curl 56 OpenSSL SSL_read:SSL_ERROR_sysCALL
执行:
git config http.sslVerify "false"
git pull出现“fatal: refusing to merge unrelated histories“的解决方法
git pull origin master --allow-unrelated-histories
文章评论