【无标题】

git报错信息

git:fatal: unable to connect to github.com:github.com0: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.com0:20.205.243.166: errno=Unknown error

相关推荐
峰向AI1 小时前
316k+ Star 史上第二热门项目,没有一行代码
github
dong_junshuai1 小时前
每天一个开源项目#86 ECC:245K星的 Agent 工程操作层
开源·github·agent
Natural3 小时前
混合检索 + RRF + Rerank 实战评测:三条路线在 47 个真实问题上的取舍
github
一点一木5 小时前
憋了7周没动静,OpenClaw 2.0带着16000个PR杀回来了
人工智能·github
一点一木8 小时前
🚀 2026 年 8 月 GitHub 十大热门项目排行榜 🔥
人工智能·github
工藤孤独10 小时前
Git Worktree 从零到多智能体实战
git
微尘寒风20 小时前
【Git】的安装和使用
java·git
怕浪猫20 小时前
FDE 最大的浪费不是写出有 bug 的代码,而是漂亮地解决了一个错误的问题
面试·架构·github
黄敬峰1 天前
Next.js 全栈实战:数据清洗、ORM 设计与 AI Prompt 工程最佳实践
面试·github
峰向AI1 天前
AI reads books:用 AI 逐页「啃」PDF 的知识提取器,一个脚本搞定一切
github