【无标题】

git报错信息

git:fatal: unable to connect to github.com:github.com[0: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.com[0:20.205.243.166]: errno=Unknown error

相关推荐
Rabbit_QL4 小时前
【Git 报错处理】`remote origin already exists` 是什么意思?
git
qq_381013745 小时前
IntelliJ IDEA中GitHub Copilot完整使用教程:从安装到实战技巧
其他·github·intellij-idea·copilot
陈佬昔没带相机6 小时前
GitHub clone 不动、pip 卡住、brew 转圈?一份指南搞定
git·npm
happyprince9 小时前
2026年04月07日热门github项目
github
奔跑草-9 小时前
【AI日报】每日AI最新消息2026-04-07
人工智能·大模型·github·开源软件
CoovallyAIHub9 小时前
Sensors 2026 | 从无人机拍摄到跑道缺陷地图,机场巡检全流程自动化——Zadar机场全跑道验证
数据库·架构·github
CoovallyAIHub9 小时前
15K Star中文首发!$5部署一个会自我进化的私人Agent——NousResearch开源Hermes Agent
git·架构·github
无限进步_11 小时前
【C++】巧用静态变量与构造函数:一种非常规的求和实现
开发语言·c++·git·算法·leetcode·github·visual studio
降临-max11 小时前
Git 协同开发与冲突解决
笔记·git
淼淼爱喝水11 小时前
Ansible 基础模块实战作业详细教程
chrome·github·ansible