【无标题】

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

相关推荐
梓羽玩Python1 小时前
月之暗面最新开源模型!Kimi-Audio:革新多模态音频处理,统一音频理解、生成与对话!
人工智能·python·github
YoungHong19922 小时前
Git Bisect 使用指南:高效定位引入 Bug 的提交
git·bug
HelloGitHub2 小时前
《HelloGitHub》第 109 期
开源·github
程序员差不多先生2 小时前
字节跳动在GitHub上有哪些开源项目
github
极小狐5 小时前
极狐GitLab 的压缩和合并是什么?
运维·git·ssh·gitlab·github
它说我会飞耶11 小时前
git 命令集
git
极小狐11 小时前
极狐GitLab 合并请求依赖如何解决?
运维·git·ssh·gitlab·github
八股文领域大手子15 小时前
如何给GitHub项目提PR(踩坑记录
大数据·elasticsearch·github
ikkkkkkkl15 小时前
Git基本操作
git
泯泷15 小时前
探索DeepWiki:开发者的代码知识库利器
github·openai·ai编程