可能是不该加代理但是之前有加代理。

1、执行 git config --global http.proxy 查询当前代理

2、执行 git config --global --unset http.proxy和git config --global --unset https.proxy 取消当前代理

3、增加代理 .

执行git config --global http.proxy http://127.0.0.1:1080

执行git config --global https.proxy http://127.0.0.1:1080

 

参考文章:fatal:unable to access "https://xxxxxxx"的一种解决方法 - 哔哩哔哩 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐