今天我的Visual Studio 2019团队资源管理器github push遇到以下错误。
我不知道如何解决此错误。
错误消息:
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
上没有检查文件
答案 0 :(得分:0)
关注此页面fatal: unable to access curl-ca-bundle.crt · Issue #4836 · desktop/desktop
curl-ca-bundle.crt
找到了C:\Program Files (x86)\Git\bin\curl-ca-bundle.crt
C:\program files (x86)\microsoft visual studio\2019\community\common7\ide\commonextensions\microsoft\teamfoundation\team explorer\Git\mingw32\bin\curl-ca-bundle.crt
答案 1 :(得分:0)