問題:使用git extension 拉取或者push代碼,提示
"C:\Program Files\Git\bin\git.exe" pull --progress "origin" +refs/heads/zjw
fatal: unable to access 'https://github.com/**/': error setting certificate verify locations:CAfile: C:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
CApath: none
DonePress Enter or Esc to close console...
這是因為git 提交代碼時需要安全認證,可以通過以下方法設置,取消驗證
解決:
找到 git的config 配置文件,路徑應該在
C:\ProgramData\Git\config ,添加下面兩行
[http]
sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt
保存后,再提交代碼就可以了。