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
相关推荐
一只大袋鼠10 小时前
Git 进阶(二):分支管理、暂存栈、远程仓库与多人协作
java·开发语言·git
STDD14 小时前
Soulmask《灵魂面具》 专用服务器搭建教程
运维·服务器·github
lolo大魔王14 小时前
Linux的监测程序
linux·运维·github
smileNicky15 小时前
Spring框架懒加载怎么实现?
python·spring·rpc
我叫张小白。17 小时前
Git 分支管理与团队协作
git
米高梅狮子18 小时前
Redis
数据库·redis·mysql·缓存·docker·容器·github
_Evan_Yao18 小时前
如何搭建属于自己的技术博客(CSDN / GitHub Pages)
后端·学习·github
DogDaoDao18 小时前
Windows 下 Git 报错:`touch` 无法识别 —— 原因分析与 7 种解决方案(从入门到精通)
windows·git·程序员·npm·powershell·cmd·touch
Quirkybrain19 小时前
从多态调用到简单析构:C 语言里的对象生命周期管理
github
caicai_xiaobai19 小时前
Ubuntu上Git安装步骤
linux·git·ubuntu