git pull不了,报错为 fatal: unable to access ‘https://github.com/.../‘: Failed to connection

解决方法:

1.在项目文件夹的命令行窗口执行下面代码,然后再pull
取消git本身的https代理,使用自己本机的代理,如果没有的话,其实默认还是用git的

//取消http代理
git config --global --unset http.proxy
//取消https代理
git config --global --unset https.proxy

原文链接:https://blog.csdn.net/good_good_xiu/article/details/118567249

posted @   山谷清芳  阅读(3507)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示