【无标题】

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

相关推荐
wflynn1 小时前
GitHub 日榜趋势速报 | 2026-10-10
开源·github
fthux2 小时前
开源小工具 Who Arrives:看看你的公网 IP、地区、时区和网络
http·开源·github
来自于狂人2 小时前
GitHub 开源趋势日报 | 2026年10月10日,告别 Mermaid 的图表设计系统
开源·github
u1301302 小时前
GitHub 热榜项目:日榜(2026-10-10)
人工智能·github
Python测试之道4 小时前
GitHub 实战课|Playwright MCP:让 AI 真的会用浏览器
人工智能·github
鶴哥只手遮天4 小时前
Git 2.56 源码深度剖析:为 Git 3.0 铺路的架构重构
git·开源
小陈运维4 小时前
GitHub Actions + Docker + ACR + GHCR 自动化构建与发布
github
miofly5 小时前
AI 智能体用 83% 字节精确匹配反编译完整游戏
开源·github
小此方7 小时前
「插曲:Git」标签管理篇:理解Tag标签、为指定提交打标签、查看标签详情与附注标签
git