【无标题】

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

相关推荐
水无痕simon1 小时前
05 Git 基础 – 查看提交历史
git
HelloGitHub1 小时前
《HelloGitHub》第 121 期
开源·github
谢斯1 小时前
【GIT】子模块初始化与排错记录
git
CoderJia程序员甲1 小时前
GitHub 热榜项目 - 日榜(2026-04-27)
ai·大模型·llm·github
遇见火星2 小时前
离线服务器时间同步NTP服务器配置
服务器·git·github
Soari2 小时前
Claude Code每日更新速览(v2.1.120-2026/04/27)-彻底摆脱 Git Bash,CI 级代码审查工具上线
git·ci/cd·bash·cluade code·ai for coding
芝士就是力量啊 ೄ೨2 小时前
如何配置Rust、Git,并从Github上拉下一个项目
git·rust·github
篮子里的玫瑰3 小时前
Git管理工具深度解析:从原理到企业级落地的全链路讲解
git·vscode
@PHARAOH12 小时前
WHAT - git worktree 概念
前端·git
Reart13 小时前
从0解构tinyWeb项目--(Day:9)
后端·架构·github