错误如下:
Git Pull Failed
unable to access ‘https:/xxxxxxx.git/’: SSL certificate problem: certificate has expired
解决方案:通过git bash打开git命令行,输入: git config --global http.sslVerify false 即可
git config --global http.sslVerify false
错误如下:
Git Pull Failed
POST git-upload-pack (316 bytes)
From https://gitee.com/specking/studybranch master -> FETCH_HEAD
= [up to date] master -> origin/master
refusing to merge unrelated histories
原因:出现这个问题的最主要原因还是在于本地仓库和远程仓库实际上是独立的两个仓库。假如我之前是直接clone的方式在本地建立起远程github仓库的克隆本地仓库就不会有这问题了
解决方案:命令行输入
git pull origin master --allow-unrelated-histories
错误如下:
Clone failed
RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
663 bytes of body are still expected
the remote end hung up unexpectedly
early EOF
index-pack failed
原因:原因:出现这种问题可能是文件太大了
curl的postBuffer的默认值较小,需要在终端调整为到合适的大小,这里调整到500M
解决方法:
命令行输入输入以下3个命令:
git init
git config http.postBuffer 524288000
git config http.sslVerify "false"