使用Git在libcurl中不支持或禁用协议https [英] Protocol https not supported or disabled in libcurl using Git

查看:267
本文介绍了使用Git在libcurl中不支持或禁用协议https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些github仓库,并且在过去的几个月中它们一直运行良好。

但是,几天前,当我尝试推送 $ b $时,我开始遇到一个奇怪的错误。 b并拉:

I have a few github repos and they have been working fine for the last few months.
However, a few days ago I started getting a strange error when trying to push
and pull:

错误:libcurl不支持或禁用协议https,而

访问https:...致命:HTTP请求失败

error: Protocol https not supported or disabled in libcurl while
accessing https: ... fatal: HTTP request failed

我尚未更改我所知道的任何内容,因此不确定

错误的出处。

I have not changed anything that I am aware of, so not sure
where the error is coming from. Thanks in advance.

推荐答案

如果您安装Pure Data,可能会出现此错误。此处描述了Pure Data和git之间的冲突。 Pure Data安装程序会将其自己的libcurl-4.dll放在system32文件夹中。

This error appears if you install Pure Data, may be it's your case.Here is described conflict between Pure Data and git. Pure Data installer put it's own libcurl-4.dll in system32 folder.

即使您未安装Pure Data,也可能在其中的另一个libcurl-4.dll中您的库路径,该路径是从已安装的git位置在libcurl-4.dll之前加载的。

Even if you didn't install Pure Data there is probably another libcurl-4.dll somwhere in your library path which is loaded before libcurl-4.dll from installed git location.

这篇关于使用Git在libcurl中不支持或禁用协议https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆