在window下使用 git clone 命令出现如下错误:
>>> fatal: unable to access 'https://git.coding.net/xxxx.git/':
error setting certificate verify locations:
CAfile: D:/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
CApath: none
解决方法:
1:使用
git config --system http.sslcainfo "C:\Program Files (x86)\git\bin\curl-ca-bundle.crt"
2:
git config --system http.sslverify false(较好)