不是什么原创,就是我的稍微记录一下。git
Windows上能够这样办:github
上https://www.ipaddress.com查一下raw.githubusercontent.com的ipv4地址,好比我如今查到的是199.232.68.133。code
使用管理员权限打开C:/Windows/System32/hosts文件,添加一行ip
199.232.68.133 raw.githubusercontent.com # comments. put the address here
或者管理员权限开或者给个用户写入权限。而后差很少就好了,可能要重启。it