【无标题】

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

相关推荐
zhensherlock3 分钟前
Protocol Launcher 系列:Working Copy 提交与同步全攻略
javascript·git·typescript·node.js·自动化·github·js
前端若水11 分钟前
Git 全命令超级详细指南
大数据·git·elasticsearch
SiYuanFeng12 小时前
新手学Git:如何把本地 Git 项目上传到 GitHub
git·github
前端若水14 小时前
git回退并合并分支操作
git
桌面运维家17 小时前
中小学IDV云桌面vDisk挂载部署方案
github
MXN_小南学前端19 小时前
Vue3 + Spring Boot 工单系统实战:用户反馈和客服处理的完整闭环(提供gitHub仓库地址)
前端·javascript·spring boot·后端·开源·github
程序员鱼皮19 小时前
Git WorkTree 是什么?凭什么能让 AI 编程效率翻倍?
git·ai·程序员·编程·ai编程
lentoo-19 小时前
GitHub 暂停了 Copilot 付费注册
github·copilot
一颗青果20 小时前
Cookie 与 Session 超详细讲解
服务器·前端·github
懵逼的小黑子21 小时前
git与远程仓库创建连接
git