cd /etc
sudo gedit hosts
在最后加上一行
185.199.108.133 raw.githubusercontent.com
185.199.108.133,若不行,查看raw.githubusercontent.com真实ip。
方法为
在IPAddress网站中(https://www.ipaddress.com),输入raw.githubusercontent.com查询到真实IP地址,替换 185.199.108.133
这是我进入网站查到此刻的ip
raw.githubusercontent.com resolves to the following 4 IPv4 addresses:
- 185.199.108.133
- 185.199.109.133
- 185.199.110.133
- 185.199.111.133