【无标题】

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

相关推荐
qianmoQ3 小时前
GitHub 趋势日报 (2025年05月31日)
github
油泼辣子多加4 小时前
2025年06月06日Github流行趋势
github
粥里有勺糖5 小时前
视野修炼-技术周刊第122期 | 发光图片制作
前端·javascript·github
码农黛兮_465 小时前
Git 常用命令大全
git
qianmoQ5 小时前
GitHub 趋势日报 (2025年06月05日)
github
小馒头君君5 小时前
3 个优质的终端 GitHub 开源工具
github
一弓虽5 小时前
git 学习
git·学习
MarkHD9 小时前
AI编程助手入门指南:GitHub Copilot、Cursor与Claude的安装与基础使用
github·copilot·ai编程
追逐时光者11 小时前
2个 GitHub 实用辅助神器,帮你快速了解和上手 GitHub 开源项目(附带 GitHub 加速神器)!
github
寻月隐君12 小时前
Web3实战:Solana CPI全解析,从Anchor封装到PDA转账
后端·web3·github