【无标题】

git报错信息

git:fatal: unable to connect to github.com:github.com[0:20.205.243.166]: errno=Unknown error

之前网上的 说的 使用了下面的操作 导致 一直报错 上面的错

git config --global url.https://github.com/.insteadOf git://github.com/

然后查看git配置

git config --global --list

发现如下信息 下面红框是多出来的 那么只有清除就应该可以清除报错信息了吧

分别执行下面的

git config --global --unset url.git://github.com/.insteadof
git config --global --unset url.https://github.com/.insteadof
git config --global --unset url.https://.insteadof

看看配置

已经去除 成功 完美解决问题

git:fatal: unable to connect to github.com:github.com[0:20.205.243.166]: errno=Unknown error

相关推荐
逛逛GitHub1 小时前
清华团队开源!1 键生成多 Agent 智能体 AI 课堂。
github
研究点啥好呢2 小时前
3月15日GitHub热门项目推荐 | 当AI拥有记忆
人工智能·python·github·openclaw
乐之者v2 小时前
Intellij Idea修改Git远程地址
git
孟健3 小时前
AI Agent 已经开始攻击 GitHub Actions:我整理了 7 条最该先做的加固清单
安全·github·agent
CoovallyAIHub4 小时前
开源一周 6300+ Star!Andrew Ng 发布 Context Hub,专治 AI Agent 调用过时 API
人工智能·架构·github
答案answer4 小时前
我的Three.js3D场景编辑器免费开源啦🎉🎉🎉
前端·github·three.js
lpfasd1234 小时前
2026年第11周GitHub趋势周报:AI智能体爆发,RAG与本地部署成新焦点
人工智能·github
北寻北爱4 小时前
面试题-git+npm
vue.js·git·webpack·echarts
EleganceJiaBao4 小时前
【Git】使用 SSH 进行 Git 操作的完整步骤
git·ssh·github·push·clone
CoderJia程序员甲5 小时前
GitHub 热榜项目 - 日榜(2026-03-16)
人工智能·ai·大模型·github·ai教程