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
相关推荐
黑客飓风44 分钟前
当GitHub宕机时,我们如何协作?
github·notepad++
xiAo_Ju3 小时前
git hooks配置
git
张醒言4 小时前
Protocol Buffers 中 optional 关键字的发展史
后端·rpc·protobuf
mit6.8244 小时前
[Git] 如何拉取 GitHub 仓库的特定子目录
git·github
用户466537015055 小时前
如何在 IntelliJ IDEA 中可视化压缩提交到生产分支
后端·github
用户466537015055 小时前
git代码压缩合并
后端·github
若水晴空初如梦6 小时前
QT聊天项目DAY19
github
许心月6 小时前
Git#revert
git
张较瘦_8 小时前
[论文阅读] 人工智能 | 当Hugging Face遇上GitHub:预训练语言模型的跨平台同步难题与解决方案
论文阅读·人工智能·github
军军3609 小时前
Git大型仓库的局部开发:分步克隆 + 指定目录拉取
前端·git