1、打开IPAddress.com
查询网址对应ip
github.com
assets-cdn.github.com
github.global.ssl.fastly.net
二、修改本地电脑系统hosts文件
- windows:
C:\Windows\System32\drivers\etc - linux:
/etc/hosts
直接在最后加入以下代码:
140.82.112.3 github.com
185.199.108.153 assets-cdn.github.com
199.232.69.194 github.global.ssl.fastly.net
windows 命令行输入ipconfig /flushdns