首先:查询最新的 DNS
网上很多设置的IP 可能不一样
http://github.global.ssl.fastly.net.ipaddress.com/
2.修改host文件:host文件在 Windows的路径为 C:\Windows\System32\drivers\etc
最好 先备份一个原文件(备份是 好习惯) 有记事本打开 即可
151.101.185.194 github.global.ssl.fastly.net (前面是IP 后面是名称)
3. 最重要 最重要 最重要 !!!!
cmd 命令窗口 输入ipconfig /flushdns 使hosts 生效
4: 最后 速度 杠杠的