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
相关推荐
golang学习记2 分钟前
Zed IDE官宣新招:Git Graph 正式支持!
ide·git
辣椒酱.10 分钟前
github入门与实战
github
要记得喝水13 分钟前
适用于 Git Bash 的脚本,批量提交和推送多个仓库的修改
git·elasticsearch·bash
捧月华如20 分钟前
React vs Vue vs Angular:三大前端框架深度对比
python·github
AI_Claude_code24 分钟前
专栏导论:开源项目贡献的价值与Git工作流全景图
git·开源
never forget shyang27 分钟前
CCS20.2.0使用教程
c语言·git·单片机
研究点啥好呢9 小时前
Github热门项目推荐 | 创建你的像素风格!
c++·python·node.js·github·开源软件
lifewange10 小时前
常用的Git命令有哪些?
git
无限进步_10 小时前
【C++】电话号码的字母组合:从有限处理到通用解法
开发语言·c++·ide·windows·git·github·visual studio