GitHub是一个面向开源及私有软件项目的托管平台,因为只支持Git作为唯一的版本库格式进行托管,故名GitHub,在天朝Github默认被限速了,我们可以通过修改hosts文件来提速,不仅可以提升下载速度,还可以显示出个人头像等图标,请往下看,下面是最新的IP地址。
1.手动访问 https://www.ipaddress.com/ 网址,然后依次获取以下三个网址的IP
github.com github.global.ssl.fastly.net codeload.github.com这是我获取的IP 地址,你也可以自己去找,一般只需要找github.com 的地址就可以提速了。
192.30.253.112 github.com 151.101.25.194 github.global.ssl.fastly.net 192.30.253.121 codeload.github.com 151.101.185.194 github.global.ssl.fastly.net 151.101.112.133 assets-cdn.github.com 192.30.253.117 api.github.com 172.217.21.110 192.30.253.124 live.github.com 140.82.112.9 codeload.github.com修改系统本地 C:\Windows\System32\drivers\etc\hosts hosts 文件添加上面的查询记录到文件里。
刷新DNS缓存,执行命令 ipconfig /flushdns 再次下载文件,会发现速度提升了。
有时候Github图标无法完全显示,一般是被污染了。添加我们找好的地址到 hosts文件中即可。
151.101.184.133 assets-cdn.github.com 151.101.184.133 raw.githubusercontent.com 151.101.184.133 gist.githubusercontent.com 151.101.184.133 cloud.githubusercontent.com 151.101.184.133 camo.githubusercontent.com 151.101.184.133 avatars0.githubusercontent.com 151.101.184.133 avatars1.githubusercontent.com 151.101.184.133 avatars2.githubusercontent.com 151.101.184.133 avatars3.githubusercontent.com 151.101.184.133 avatars4.githubusercontent.com 151.101.184.133 avatars5.githubusercontent.com 151.101.184.133 avatars6.githubusercontent.com 151.101.184.133 avatars7.githubusercontent.com 151.101.184.133 avatars8.githubusercontent.com添加上 avatar.githubusercontent.com 图片缓存服务器地址之后,就可以正常加载各种图标图片资源了,下载文件的速度也会变得很快。
2019-12-31 地址更新记录
151.101.44.249 192.30.253.113 103.245.222.133 23.235.47.133 203.208.39.104 204.232.175.78 204.232.175.94 107.21.116.220 207.97.227.252 192.30.253.121 199.27.76.130 107.22.3.110 204.232.175.78 207.97.227.243 185.31.16.184 185.31.18.133 185.31.19.1332020-06-04 地址更新
140.82.113.4 github.com 151.101.25.194 github.global.ssl.fastly.net 140.82.112.10 codeload.github.com 199.232.69.194 github.global.ssl.fastly.net 185.199.108.153 assets-cdn.github.com 140.82.112.5 api.github.com 172.217.4.78 140.82.114.25 live.github.com 199.232.68.133 avatars0.githubusercontent.com 199.232.68.133 avatars1.githubusercontent.com 199.232.68.133 avatars2.githubusercontent.com 199.232.68.133 avatars3.githubusercontent.com 199.232.68.133 avatars4.githubusercontent.com 199.232.68.133 avatars5.githubusercontent.com 199.232.68.133 avatars6.githubusercontent.com 199.232.68.133 avatars7.githubusercontent.com 199.232.68.133 avatars8.githubusercontent.com 199.232.68.133 avatars9.githubusercontent.com2021-06-12
140.82.113.3 github.com 199.232.69.194 github.global.ssl.fastly.net 140.82.112.10 codeload.github.com 199.232.69.194 github.global.ssl.fastly.net 185.199.108.153 assets-cdn.github.com 140.82.114.6 api.github.com 142.250.190.110 140.82.112.26 live.github.com 185.199.108.133 avatars0.githubusercontent.com 199.232.68.133 avatars1.githubusercontent.com 185.199.109.133 avatars2.githubusercontent.com 185.199.110.133 avatars3.githubusercontent.com 185.199.111.133 avatars4.githubusercontent.com 185.199.108.133 avatars5.githubusercontent.com 185.199.108.133 avatars6.githubusercontent.com 185.199.108.133 avatars7.githubusercontent.com 185.199.108.133 avatars8.githubusercontent.com 185.199.108.133 avatars9.githubusercontent.com2021-07-04
140.82.112.3 github.com 140.82.113.3 gist.github.com 185.199.108.153 assets-cdn.github.com 185.199.108.133 raw.githubusercontent.com 185.199.108.133 gist.githubusercontent.com 185.199.108.133 cloud.githubusercontent.com 185.199.108.133 camo.githubusercontent.com 185.199.109.133 avatars.githubusercontent.com 185.199.109.133 avatars0.githubusercontent.com 185.199.109.133 avatars1.githubusercontent.com 185.199.109.133 avatars2.githubusercontent.com 185.199.109.133 avatars3.githubusercontent.com 185.199.109.133 avatars4.githubusercontent.com 185.199.109.133 avatars5.githubusercontent.com 185.199.109.133 avatars6.githubusercontent.com 185.199.109.133 avatars7.githubusercontent.com 185.199.109.133 avatars8.githubusercontent.com