在hosts文件末尾粘贴以下几行,保存即可生效(编辑工具需用管理员权限打开):
#github
192.30.253.113 github.com
192.30.253.113 github.com
192.30.253.118 gist.github.com
192.30.253.119 gist.github.com
windows下路径为:
C:\Windows\System32\drivers\etc\hosts
Linux下路径:
/etc/hosts
在hosts文件末尾粘贴以下几行,保存即可生效(编辑工具需用管理员权限打开):
#github
192.30.253.113 github.com
192.30.253.113 github.com
192.30.253.118 gist.github.com
192.30.253.119 gist.github.com
windows下路径为:
C:\Windows\System32\drivers\etc\hosts
Linux下路径:
/etc/hosts