国内环境 GitHub 拉取仓库速度慢的缓解方案

第一步: 浏览器打开如下两个网址,找到对应 IP 地址:

  1. GitHub.com - GitHub: Let's build from here · GitHub
  2. github.global.ssl.fastly.net

假设对应 IP 地址分别为 140.82.xx.xxx 和 199.232.yy.yyy

第二步: 编辑 hosts 文件

sudo vim /etc/hosts

加入如下两行:
140.82.xx.xxx github.com
199.232.yy.yyy github.global.ssl.fastly.net

相关推荐
油泼辣子多加2 小时前
2025年08月21日Github流行趋势
github
uhakadotcom3 小时前
最近rust生态有啥能力更新?
后端·面试·github
AxonoSensei5 小时前
4 利用annaconda进行环境搭建
github
在狂风暴雨中奔跑7 小时前
免费打造你的个人网页——GitHub Pages使用指南
github
小华同学ai8 小时前
Github 2.3k star 太牛x,京东(JoyAgent‑JDGenie)这个开源项目来得太及时啦,端到端多智能体神器!!!
前端·后端·github
dream_home84078 小时前
github 上传代码步骤
github
小华同学ai8 小时前
炸裂!Github 6000+ star 开源免费易用,支持1000+格式转换,值得收藏!
前端·后端·github
handsomestWei18 小时前
github jekyll博客SEO搜索引擎优化
搜索引擎·github·seo·jekyll
叔叔别拉了我害怕1 天前
封装FTPSClient连接ftps服务器
服务器·git·github
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2025-08-21)
ai·开源·github·ai编程