github上傳自己的代碼報錯
fatal: unable to access 'https://github.com/wenm1128/auto.git/': error setting certificate verify locations:
CAfile: D:/Git/anz/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none
解決:
輸入:git config --system http.sslverify false命令
另一種解決方法:
先打開git bash窗口
執行命令:
git config --system http.sslcainfo "D:/Git/anz/Git/mingw64/ssl/certs/ca-bundle.crt"
//引號中的內容根據報錯提示中的文件名和路徑來改成自己的