【无标题】

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 小时前
WSL中使用Beyond Compare 3/4/5作为difftool
git·wsl·beyond compare·difftool
console.log('npc')3 小时前
Git版本管控:git reset \+ git push \-f 原理、实操与避坑指南
git
Jurio.5 小时前
开源 Codex Sticky:在终端 Codex CLI 长对话中始终固定底部输入框
linux·rust·github·开源软件·codex·codex cli
半夜修仙5 小时前
RabbitMQ中如何保证消息的可靠性传输
java·分布式·中间件·rabbitmq·github·java-rabbitmq
旅之灵夫7 小时前
【GitHub项目推荐--Harness:一体化的开源 DevOps 平台】⭐
github
恋喵大鲤鱼8 小时前
git reflog
git·git reflog
虾壳云智能8 小时前
详解 OpenClaw 部署难点 绕过安全拦截与路径报错解决方案
人工智能·github·open claw教程·open claw一键部署
_codemonster9 小时前
Codex中github cli未通过身份验证解决方法
github
MatrixOrigin9 小时前
MatrixOne Git4Data 技术详解(二):从零跑通所有 Git 原语
git
anew___10 小时前
常用的 Git 工作流
git