一个加速github的简单方法

崩天的勾玉 2021年7月14日20:32:052104 1523字

除了使用梯子外,我们可以在本地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

您可能感兴趣的文章

继续阅读
版权:文章来自凡蜕博客,转载请带上地址。微信公众号: 『崩天的勾玉』
匿名

发表评论

匿名网友

    • demo
      demo

      瞬间ajax

      • 枫林
        枫林

        我是用梯子的……不过用了后感觉确实稳定了点,有时候用梯子都会加载不出来图