【无标题】

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

相关推荐
水无痕simon1 小时前
04 Git基础-记录每次更新到仓
git
无限进步_1 小时前
【C++】寻找数组中出现次数超过一半的数字:三种解法深度剖析
开发语言·c++·git·算法·leetcode·github·visual studio
一个程序猿老马13 小时前
012、远程协作:连接GitHub/Gitee与git remote
git·gitee·github
小柯博客15 小时前
STM32MP2安全启动技术深度解析
c语言·c++·stm32·嵌入式硬件·安全·开源·github
zhensherlock16 小时前
Protocol Launcher 系列:Tally 快速计数器的深度集成
前端·javascript·typescript·node.js·自动化·github·js
Lisonseekpan16 小时前
Git:如何将一个分支的特定提交合并到另一个分支?
java·大数据·git·后端·elasticsearch
pas13618 小时前
git 配置
git
独隅21 小时前
Git误操作急救手册
大数据·git·elasticsearch
水无痕simon1 天前
03 Git 工作流程
git
一个程序猿老马1 天前
013、推送与拉取:git push与git pull的协作流程
大数据·git·elasticsearch