关于github.com 报告 fatal: unable to connect to github.com: 无法执行git clone https://github.com/xxxxxx.git 的解决方法

1.通过ping github.com,获取其ip地址

2.获取其ip后,在系统文件中添加该ip地址

 3.保存后,通过在原目标地址上添加gitclone.com拉取 : 如下所示。

git clone https://github.com/xxxx.git -> git clone https://gitclone.com/github.com/xxxx.git

 

posted @ 2023-06-15 17:34  播种者  阅读(260)  评论(0编辑  收藏  举报