【无标题】

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

相关推荐
前端 贾公子14 小时前
如何在 Github 上规范的提交 PR(图文详解)
github
汪海游龙14 小时前
03.13 AI 精选:1-bit 大模型官方推理框架
github·hacker news
月光下的麦克17 小时前
Git 打 Tag 的作用
git
DJ斯特拉17 小时前
git基本使用
git
闫记康17 小时前
scp工具
linux·运维·服务器·学习·ssh·github
我命由我1234518 小时前
Git 问题:Author identity unknown*** Please tell me who you are.
java·服务器·git·后端·学习·java-ee·学习方法
逛逛GitHub18 小时前
狠狠的 Pua 你的 OpenClaw 小龙虾,这 2 个 GitHub 项目开源了。
github
悲伤小伞20 小时前
Git_原理及使用_撤销修改_删除文件
数据库·git
不做超级小白20 小时前
Git大小写陷阱:当README.md遇上readme.md
linux·windows·git
testresultstomorrow20 小时前
GitHub 代码上传与故障排除实战指南
经验分享·笔记·开源·github