今天使用GitHub Desktop在克隆项目出现报错:1
2Cloning into 'D:\WWW\test\wangshimin.github.io'...
fatal: unable to access 'https://github.com/test/test.github.io.git/': schannel: failed to open CA file 'C:/Users/eihoo/AppData/Local/GitHubDesktop/app-1.3.4/resources/app/git/mingw64/bin/curl-ca-bundle.crt': No such file or directory
解决步骤:
- 打开C:\ProgramData\Git\config文件
- 修改sslCAinfo
1
sslCAinfo = /bin/curl-ca-bundle.crt
修改为
C:/Program Files (x86)/Git/mingw64/ssl/certs/ca-bundle.crt
- 最后保存即可