【无标题】

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

相关推荐
修己xj4 小时前
差生文具多?我给自己改造了一款AI周计划工具
github
赵庆明老师4 小时前
Vben精讲:04-了解VSCode中的Git
ide·git·vscode
阿里嘎多学长8 小时前
2026-07-07 GitHub 热点项目精选
开发语言·程序员·github·代码托管
GoGeekBaird10 小时前
我最近在写 BeeWeave,想把 Agent 用过的上下文留住
后端·github·ai编程
Irissgwe10 小时前
第 5 篇:Git 分支基础:branch、checkout、merge 和冲突解决
git
DogDaoDao11 小时前
LLM:用一条命令统一所有大语言模型的 CLI 工具
人工智能·语言模型·自然语言处理·llm·github
lpfasd12311 小时前
2026年第27周科技社区趋势周报
github
阿彬学java12 小时前
Mac 本地项目推送至 GitHub 完整指南
github
liberalhumblehopeful12 小时前
git代码管理-分支差距过大如何进行同步
git
dong_junshuai13 小时前
每天一个开源项目#26 Caveman:8.2万星的 AI 口语压缩技能,输出减 75%
github