git 报错:错误:RPC 失败。curl 28 Failed to connect to github.com port 443 after 75000

复制代码
错误:RPC 失败。curl 28 Failed to connect to github.com port 443 after 75000 ms: Couldn't connect to server

致命错误:在引用列表之后应该有一个 flush 包

方法一:

直接换一个域名:把

git clone https://github.com/zx595306686/sim_demo.git命令换成

git clone https://gitclone.com/github.com/zx595306686/sim_demo.git

然后大家只需要把上述命令更换成自己的网址就可以了

方法二:

#取消http代理

git config --global --unset http.proxy

#取消https代理

git config --global --unset https.proxy

然后再执行git clone https://github.com/zx595306686/sim_demo.git命令

方法三:

1 打开hosts文件
复制代码
sudo vim /etc/hosts
2 在添加github.com域名
复制代码
140.82.114.4    github.com
相关推荐
好好沉淀2 小时前
ide进去git突然报Cannot identify version of git executable: no response的错误
git
宇宙超级无敌霸王龙捏6 小时前
Git 分支完整操作指南
git
CoderJia程序员甲6 小时前
GitHub 热榜项目 - 日榜(2025-10-07)
ai·github·开源项目·github热榜
CoderJia程序员甲8 小时前
GitHub 热榜项目 - 日榜(2025-10-04)
ai·开源·大模型·github·ai教程
学编程的小鬼9 小时前
git 中常用的命令
git
小黄酥10 小时前
Sourcetree克隆/获取gitee工程,Git获取SSH密钥
git·gitee·github
wdfk_prog10 小时前
构建基于Hexo、Butterfly、GitHub与Cloudflare的高性能个人博客
笔记·学习·github·hexo·blog
JinSo10 小时前
alien-signals 系列 —— 认识下一代响应式框架
前端·javascript·github
小Lu的开源日常11 小时前
踩坑日记:为什么 .gitignore 不起作用了
git·代码规范·trae
Gazer_S15 小时前
【Git 子模块冲突解析】
git