【无标题】

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

相关推荐
m0_694845576 小时前
netcut 是什么?简单安全的在线剪贴板搭建与使用教程
运维·服务器·安全·开源·云计算·github
007张三丰6 小时前
Git Rebase详解,与merge,cherry-pick比较
git·rebase·rebasing
中科三方8 小时前
域名注册后无法解析解决方法:技术故障排查和解决指南
开发语言·github·php
JavaGuide12 小时前
又一款国产开源企业级文件管理系统诞生了!基于 Spring Boot 3.5.x + Sa-Token + MyBatis Flex
后端·github
_Johnny_13 小时前
GitHub Copilot转变为兼容API
github·copilot
阿里嘎多学长15 小时前
2026-02-13 GitHub 热点项目精选
开发语言·程序员·github·代码托管
用户40993225021216 小时前
Vue中默认插槽、具名插槽、作用域插槽如何区分与使用?
前端·vue.js·github
jimy117 小时前
GitHub的codespaces入门,以及git设置
git·github
睡醒了叭19 小时前
缝缝补补---Git使用
git