問題描述:
使用Git 進(jìn)行代碼獲取狡逢、提交的時(shí)候吠昭,出現(xiàn)的錯(cuò)誤提示自点。
Update failed
?? ??? ??? ?unable to access 'https://git.dev.............android.git/': error setting certificate verify locations:
?? ??? ??? ?CAfile: D:/Program Files/Git..........ssl/certs/ca-bundle.crt
?? ??? ??? ?CApath: none
解決方案:
找到C盤目錄下的:
C:\ProgramData\Git\config?戳杀,添加下面兩行步做,保存疚漆、搞定酣胀!
[http]
sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt