【无标题】

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

相关推荐
u1301302 小时前
GitHub 热榜项目:周榜(2026-09-27)
人工智能·github
m4Rk_5 小时前
【论文阅读】Agent 记忆机制(82):ReasoningBank——从成功与失败经验中沉淀可复用的推理记忆
论文阅读·人工智能·学习·开源·github
EatFan5 小时前
GitHub Trending 三连观察:AI 编码智能体进入“周边生态”竞争阶段
人工智能·驱动开发·github·mcp·superpowers·github trending·spec kit
wflynn6 小时前
GitHub 日榜趋势速报 | 2026-09-27
开源·github
汉堡大王95277 小时前
一张图三句需求,我用 Trae Work 做了一块能看日出日落和月相的天文机械表
前端·后端·github
老王的笔记v7 小时前
55期 多平台直播录制工具使用指南 批量录制弹幕压制与视频转码
github
wflynn9 小时前
GitHub 日榜趋势速报 | 2026-09-28
开源·github
Sanyo310 小时前
07-ReAct模式详解
github
louisgeek11 小时前
Git submodule 子模块
git
imDwAaY11 小时前
6篇文章讲清楚Git:Git 实用技巧:暂存现场、挑选提交与定位 Bug (5/6)
git·后端