今天我的 Visual Studio 2019 团队资源管理器 github 推送出现以下错误。
我不知道如何解决这个错误。
错误信息 :
Pushing master
Error encountered while pushing to the remote repository: Git failed with a fatal error.
unable to access 'https://github.com/xxxxxxx.git': error setting certificate verify locations:
CAfile: c:/program files (x86)/microsoft visual studio/2019/community/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/bin/curl-ca-bundle.crt
CApath: none
Pushing to https://github.com/xxxxxxx.git
我的 git 版本:
$ git --version
git version 2.17.1.windows.2
我的C:\ProgramData\Git\config
:
[core]
symlinks = false
autocrlf = true
fscache = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[help]
format = html
[rebase]
autosquash = true
更新 :
我没有检查文件C:\program files (x86)\microsoft visual studio\2019\community\common7\ide\commonextensions\microsoft\teamfoundation\team explorer\Git\mingw32\bin\curl-ca-bundle.crt