github clone 加速

国内因为众所周知的原因,git clone 一直很慢,最近可能状况就更糟糕了。@TeleMan 提供了一个信息,可以
通过修改 host 文件达到加速效果。经过测试,只要修改两条记录即可

1
2
199.232.69.194                github.global.ssl.fastly.net
140.82.113.4 github.com

修改后,速度快多了,直连

1
2
3
4
5
6
7
8
git clone https://github.com/googleprojectzero/winafl.git
正克隆到 'winafl'...
remote: Enumerating objects: 1538, done.
remote: Counting objects: 100% (175/175), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 1538 (delta 90), reused 130 (delta 60), pack-reused 1363
接收对象中: 100% (1538/1538), 5.29 MiB | 765.00 KiB/s, 完成.
处理 delta 中: 100% (846/846), 完成.

使用一段时间后发现不是太稳定,终极大法还是需要一个长长的梯子,此方法记为备用方案。


github clone 加速
http://usmacd.com/cn/github_speed_up/
Author
henices
Posted on
September 6, 2023
Licensed under