【无标题】

git报错信息

git:fatal: unable to connect to github.com:github.com0: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.com0:20.205.243.166: errno=Unknown error

相关推荐
徐小夕8 分钟前
Loop Engineering 深度解析与实战指南(全网最全)
前端·算法·github
Cosolar2 小时前
Docsify零构建文档站完全指南:从快速搭建到企业级部署
前端·开源·github
星栈独行2 小时前
Makepad 应用如何读文件、调接口、保存数据
前端·程序人生·ui·rust·github
烁3474 小时前
Ansible中的Playbook剧本使用
github
阿里嘎多学长6 小时前
2026-06-13 GitHub 热点项目精选
开发语言·程序员·github·代码托管
洛星核7 小时前
CrewAI 安装、使用方法详细全解
人工智能·github·人机交互·ai编程·agi·智能体
吹牛不交税9 小时前
visualstudio把项目绑定git仓库
git
c238569 小时前
git常见错误和ssh验证推送
运维·git·ssh
火山上的企鹅9 小时前
Codex实战:APP远程升级服务搭建(四)Node 服务端自动识别 APK 信息
android·服务器·git·github·qgc
Dontla12 小时前
gh CLI(GitHub CLI)安装教程(Github Command Line)
github