通过修改Hosts,文件路径C:\Windows\System32\drivers\etc\hosts

Linux 系统:/etc/hosts
Android(安卓)系统:/system/etc/hosts

复制、粘贴:

  • 数据更新时间:2020-10-17T18:19:48+08:00
# GitHub520 Host Start
185.199.108.154               github.githubassets.com
199.232.68.133                camo.githubusercontent.com
199.232.68.133                github.map.fastly.net
199.232.69.194                github.global.ssl.fastly.net
140.82.112.4                  gist.github.com
185.199.108.153               github.io
140.82.113.4                  github.com
140.82.112.5                  api.github.com
199.232.68.133                raw.githubusercontent.com
199.232.68.133                user-images.githubusercontent.com
199.232.68.133                favicons.githubusercontent.com
199.232.68.133                avatars5.githubusercontent.com
199.232.68.133                avatars4.githubusercontent.com
199.232.68.133                avatars3.githubusercontent.com
199.232.68.133                avatars2.githubusercontent.com
199.232.68.133                avatars1.githubusercontent.com
199.232.68.133                avatars0.githubusercontent.com
140.82.113.9                  codeload.github.com
52.216.128.147                github-cloud.s3.amazonaws.com
52.216.228.96                 github-com.s3.amazonaws.com
52.217.93.220                 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.12.100                 github-production-user-asset-6210df.s3.amazonaws.com
52.216.20.155                 github-production-repository-file-5c1aeb.s3.amazonaws.com
# Star me GitHub url: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End

一般是立刻生效。
没有的话,手动在 CMD 敲入:ipconfig /flushdns

更多

前往GitHub让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。