本文共 681 字,大约阅读时间需要 2 分钟。
使用TortoiseGit执行pull命令时可能会出现以下错误提示:
git.exe pull --progress --no-rebase -v "origin"fatal: unable to access 'https://github.com/konsumer/arduinoscope.git/': error setting certificate verify locations:CAfile: D:\Program Files\Git\mingw64/bin/curl-ca-bundle.crtCApath: none
git version 2.9.2.windows.1
git config --system http.sslcainfo "C:\Program Files (x86)\git\bin\curl-ca-bundle.crt"
确保路径正确,可能需要根据实际安装目录进行修改。
git config --system http.sslverify false
这一操作将阻止Git进行证书验证,从而绕过证书验证失败的问题。
建议优先选择第一种方法,因为第二种方法可能会对安全性产生影响。
转载地址:http://grfkk.baihongyu.com/