GitHub IP 设置

先到 https://www.ipaddress.com/ (需要走代理)查下面几个域名的IP:

github.com
githubassets.com
githubusercontent.com

https://www.ipaddress.com/website/www.github.com/

https://www.ipaddress.com/website/www.githubassets.com/

https://www.ipaddress.com/website/www.githubusercontent.com/

然后修改本地 hosts 文件,如:

140.82.113.3 github.com
185.199.108.154 githubassets.com
185.199.109.154 githubassets.com
185.199.110.154 githubassets.com
185.199.111.154 githubassets.com
185.199.108.133 githubusercontent.com
185.199.109.133 githubusercontent.com
185.199.110.133 githubusercontent.com
185.199.111.133 githubusercontent.com

此外,可能还要修改 DNS:

8.8.8.8
8.8.4.4