【无标题】

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

相关推荐
金融Tech趋势派9 小时前
OpenClaw火了,AI Agent下一步走向哪里?
人工智能·github·企业微信·openclaw·企微管家claw
琉璃榴11 小时前
Visual Studio Code连接远程服务器
服务器·vscode·github
darkb1rd13 小时前
wterm:Web 终端实战指南,WASM 赋能近原生体验
开源·github·好物分享
打不了嗝 ᥬ᭄13 小时前
Git 原理与使用
git·gitee
学习使我健康15 小时前
MVP模式
android·github·软件工程
m0_6146190615 小时前
花了一下午学 Git,整理了一份学习笔记
笔记·git·学习
AGV算法笔记16 小时前
解决Git> git add -A -- fatal: CRLF would be replaced by LF in Test/Test.cpp
git
CoderJia程序员甲17 小时前
GitHub 热榜项目 - 日榜(2026-04-17)
ai·大模型·llm·github·ai教程
Dontla18 小时前
VSCode插件Git Graph介绍(Git可视化管理分支、可视化Git)
ide·git·vscode
阿里嘎多学长18 小时前
2026-04-17 GitHub 热点项目精选
开发语言·程序员·github·代码托管