通过修改Hosts,文件路径C:WindowsSystem32driversetchosts
Linux 系统:/etc/hosts
Android(安卓)系统:/system/etc/hosts
复制、粘贴:
# 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.3 github.com
140.82.114.5 api.github.com
199.232.68.133 raw.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
# GitHub520 Host End
一般是立刻生效。
没有的话,手动在 CMD 敲入:ipconfig /flushdns
更多
前往GitHub让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。