一个加速github的简单方法

除了使用梯子外,我们可以在本地host文件里添加ip来使之更为稳定:
Windows用户在C:\Windows\System32\drivers\etc下的hosts文件里的底部添加如下内容:

# GitHub Host Start

185.199.108.154              github.githubassets.com
140.82.113.22                central.github.com
185.199.108.133              desktop.githubusercontent.com
185.199.108.153              assets-cdn.github.com
185.199.108.133              camo.githubusercontent.com
185.199.108.133              github.map.fastly.net
199.232.5.194                github.global.ssl.fastly.net
140.82.114.3                 gist.github.com
185.199.108.153              github.io
140.82.113.3                 github.com
140.82.113.5                 api.github.com
185.199.108.133              raw.githubusercontent.com
185.199.108.133              user-images.githubusercontent.com
185.199.108.133              favicons.githubusercontent.com
185.199.108.133              avatars5.githubusercontent.com
185.199.108.133              avatars4.githubusercontent.com
185.199.108.133              avatars3.githubusercontent.com
185.199.108.133              avatars2.githubusercontent.com
185.199.108.133              avatars1.githubusercontent.com
185.199.108.133              avatars0.githubusercontent.com
185.199.108.133              avatars.githubusercontent.com
140.82.112.9                 codeload.github.com
52.216.86.179                github-cloud.s3.amazonaws.com
52.216.97.99                 github-com.s3.amazonaws.com
52.217.67.100                github-production-release-asset-2e65be.s3.amazonaws.com
52.217.131.145               github-production-user-asset-6210df.s3.amazonaws.com
52.217.107.196               github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153              githubstatus.com
64.71.168.201                github.community
185.199.108.133              media.githubusercontent.com

# Please Star : https://github.com/ineo6/hosts
# Mirror Repo : https://gitee.com/ineo6/hosts
# Update at: 2021-07-14 20:15:25

# GitHub Host End

内容更新于2021年7月,你可以自行前往此处更新:
https://github.com/ineo6/hosts

posted @ 2021-07-14 22:42  崩天的勾玉  阅读(455)  评论(0编辑  收藏  举报