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
相关推荐
程序设计实验室1 小时前
如何清理误提交到git的历史大文件?
git
江边垂钓者2 小时前
Git初始化相关配置
git
柯ran4 小时前
JSON|cJSON 介绍以及具体项目编写
c语言·链表·json·github
正经教主5 小时前
【问题】Watt加速github访问速度:好用[特殊字符]
github·watt
powerfulzyh6 小时前
Git 时光机:修改Commit信息
git
极小狐8 小时前
如何使用极狐GitLab 软件包仓库功能托管 terraform?
linux·运维·git·ssh·gitlab·terraform
qianmoQ19 小时前
GitHub 趋势日报 (2025年05月09日)
github
是代码侠呀1 天前
HTTP 的发展史:从前端视角看网络协议的演进
前端·网络协议·http·开源·github·github star·github 加星
等等,要下雨1 天前
git常用命令
git