【无标题】

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

相关推荐
阿里嘎多学长1 分钟前
2026-06-01 GitHub 热点项目精选
开发语言·程序员·github·代码托管
超梦dasgg1 小时前
工作中 Git 完整使用指南(职场实战版)
git
Ws_1 小时前
Git + Gerrit 第七课:stash 临时保存工作区修改
git
ZzT2 小时前
给 Claude Code 装个 profiler:每个工具调用慢在哪,瀑布流时间线里一眼看见
人工智能·github·claude
enjoywindstorm2 小时前
git从入门到精通
git
带娃的IT创业者3 小时前
大模型Agent的 Meta-Skill(元技能)
github·大语言模型·ai agent·多智能体协作
bryant_meng3 小时前
【Hugging Face】The GitHub of Open-Source AI Models
人工智能·github·qwen·hugging face·clip
卷心菜投手ovo4 小时前
RAG 为什么引用总是对不上?
后端·github
Hommy884 小时前
【剪映小助手】图片处理接口
开源·github·aigc·剪映小助手·视频剪辑自动化
Adorable老犀牛6 小时前
Git 发布正式版本的一个专属的硬核功能,叫做 打标签(Tag)。
git