gpt4 book ai didi

git - VS2019 : Error encountered while pushing to the remote repository: Git failed with a fatal error. 无法访问

转载 作者:行者123 更新时间:2023-12-05 09:08:24 30 4
gpt4 key购买 nike

今天我的visual studio 2019 team explorer 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

image-20200820161839927

image-20200820161904353

我的 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

最佳答案

如果您在卸载“Git for Windows”后遇到此错误,请确保手动删除文件夹“C:\Program Files\Git”。卸载过程在“C:\Program Files\Git\etc”中留下一个“gitconfig”文件,该文件由 Visual Studio 拾取并导致与“加密网络提供程序”设置中的“OpenSSL”值相关的问题。作为解决方法,也可以改为将值更改为“安全通道”。

Visual Studio Git Global Settings

关于git - VS2019 : Error encountered while pushing to the remote repository: Git failed with a fatal error. 无法访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63501083/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com