进入C:\Windows\System32\drivers\etc\
增加以下内容到hosts
修改hosts时可能提示没有权限,复制hosts到桌面,修改后
复制到etc目录下,替换掉原hosts文件即可。
140.82.114.3 github.com
185.199.108.153 assets-cdn.github.com
199.232.5.194 github.global.ssl.fastly.net
140.82.114.3 github.com
199.232.5.194 github.global.ssl.fastly.net
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
win+R cmd 输入ping github.com,可以测试访问github网页速度
解决github图片不显示,添加到hosts
185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
2606:50c0:8000::154 raw.githubusercontent.com
2606:50c0:8001::154 raw.githubusercontent.com
2606:50c0:8002::154 raw.githubusercontent.com
2606:50c0:8003::154 raw.githubusercontent.com