【无标题】

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

相关推荐
逛逛GitHub12 分钟前
推荐 8 个本周 YYDS 的 GitHub 开源项目。
github
逛逛GitHub16 分钟前
这个 GitHub 上 1.6 万人点赞 AI PPT 工具,生成的 PPT 能编辑。
github
向日的葵0061 小时前
大模型技术之git(第六章)
git
stereohomology1 小时前
ChatGPT对我首个Github开源的MCP的点评
chatgpt·开源·github
xiaoliuliu123452 小时前
ArcGIS Pro 3.5.4专业桌面地理信息系统安装教程 Windows版:运行库+升级包+汉化补丁指南
github
_大学牲2 小时前
从零实现自己的agent第六期:Agent Team团队协作
github·agent·ai编程
_大学牲2 小时前
从零实现自己的agent第一期:什么是agent
github·agent·ai编程
_大学牲2 小时前
从零实现自己的agent第二期: 百行代码从零手搓agent
github·agent·ai编程
程序员柒叔3 小时前
OpenCode 一周动态-2026-W20
人工智能·github·copilot·agent·opencode
晚风_END3 小时前
Linux|操作系统|最新版zfs编译后的适用于centos7的rpm安装包完全离线安装介绍
linux·运维·服务器·c++·python·缓存·github