【无标题】

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

相关推荐
miofly1 小时前
GitHub 周榜趋势速报 | 2026-11-08
开源·github
miofly2 小时前
GitHub 日榜趋势速报 | 2026-11-08
开源·github
miofly17 小时前
百度开源ERNIE 5.5 Flash Base,总参数280B仅激活14B
开源·github
dong_junshuai17 小时前
每天一个开源项目#154 Nushell:结构化管道怎样跨过文本边界
github
高调的涵涵1 天前
删了1.2GB,.git仍是1.2GB
git
Jason_gao9991 天前
Github Copilot 新手极速上手指南
人工智能·github·copilot
GitHub实测笔记1 天前
hexyl 本机实测:8MiB 转储中位 102ms、od 696ms(约 6.8×);默认双面板,NO_COLOR 下要 --color=force
github
MoRay1 天前
放弃云端 Computer Use,我用 Python 手搓了一个带“物理防呆”的本地 GUI Agent 底座
python·github
用户2991422196801 天前
GitHub 热榜项目:日榜(2026-11-07)
人工智能·开源·github
程序员沉梦听雨1 天前
【Git】git-submodule子模块管理
git