1. 查询以下四个链接的DNS解析地址
github.com
assets-cdn.github.com
github.global.ssl.fastly.net
-
codeload.github.com
2. 修改host
文件
C:\Windows\System32\drivers\etc\host
添加dns解析出来的ip(以网站查出来的为准)
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
192.30.253.112 github.com
199.232.5.194 github.global.ssl.fastly.net
打开cmd刷新dns
ipconfig /flushdns