【无标题】

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

相关推荐
峰向AI9 小时前
Kage: 一个 244KB 文件,做出百万级视觉效果
github
Hvitur10 小时前
Linux安装Git【离线安装】
git
m4Rk_12 小时前
【论文阅读】Agent 记忆机制(74):CompassMem——从相似度检索走向事件图上的记忆导航
论文阅读·人工智能·学习·开源·github
wflynn13 小时前
GitHub 日榜趋势速报 | 2026-09-18
开源·github
howard200515 小时前
6.4 Git安装与配置
git·安装配置
粥里有勺糖16 小时前
视野修炼第133期 | Native 回春了?
前端·github·agent
tryCbest19 小时前
git实现前后端分离项目提交同一个仓库
git·gitee
Mr.朱鹏19 小时前
Git 仓库同时推送到 Gitee 与 GitHub 配置指南
git·gitee·开源·github
All for pursuit.21 小时前
FastAPI+Ollama 部署本地AI大模型对话助手
python·github·aigc·ollama
u1301301 天前
GitHub 热榜项目:日榜(2026-09-18)
人工智能·github