githubDesktop更新报错
报错信息如下:
fatal: unable to access 'https://github.com/younne0915/Destiny2.git/': schannel: failed to open CA file 'C:/Users/Administrator/AppData/Local/GitHubDesktop/app-1.3.3/resources/app/git/mingw64/ssl/certs/ca-bundle.crt': No such process
打开"C:\ProgramData\Git\config"如下图
可以看到该报错跟sslCAInfo信息是一样的,是找不到该路径下的文件,可以打开一下C:/Users/Administrator/AppData/Local/GitHubDesktop这个目录,找到里面其他版本的GitHubDesktop,有没有ca-bundle.crt文件,我的如下图
我查看了app-1.4.2版本的,里面有ca-bundle.crt文件,把sslCAInfo改成
sslCAInfo = C:/Users/Administrator/AppData/Local/GitHubDesktop/app-1.4.2/resources/app/git/mingw64/ssl/certs/ca-bundle.crt就好了