【无标题】

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

相关推荐
CoderJia程序员甲1 小时前
GitHub 热榜项目 - 日榜(2026-1-7)
人工智能·ai·大模型·github·ai教程
逛逛GitHub1 小时前
GitHub 上 2300 点赞的搜索 Agent,有点惊艳啊。
github
詹某某34112 小时前
国密内网IP证书申请指南
github·ssl
提笔忘字的帝国2 小时前
【2026最新收集】github国内镜像站,高速访问
github
jxm_csdn3 小时前
递归工程工厂:Claude Code + Git Worktrees + Tilix/Tmux 的“AI分身”编码团队
人工智能·git
码咔吧咔3 小时前
Git 中 pull.rebase = true 的作用与设置方法详解
git
朱昆鹏4 小时前
IDEA Claude Code or Codex GUI 插件【开源自荐】
前端·后端·github
ONLYOFFICE5 小时前
入门指南:远程运行 ONLYOFFICE 协作空间 MCP 服务器
运维·服务器·github·onlyoffice
自己的九又四分之三站台6 小时前
Halo自建站博客介绍
github
散峰而望6 小时前
【算法竞赛】顺序表和vector
c语言·开发语言·数据结构·c++·人工智能·算法·github