mac 打不开github解决办法

(1)点击finder,  上面点击前往文件夹,输入/private/etc/hosts,找到hosts文件先备份,然后修改

 

(2)在文件的后面添加

http://github.com 204.232.175.94 http://gist.github.com 107.21.116.220
http://help.github.com 207.97.227.252 http://nodeload.github.com 199.27.76.130
http://raw.github.com 107.22.3.110 http://status.github.com 204.232.175.78
http://training.github.com 207.97.227.243 http://www.github.com

151.101.185.194 github.global.ssl.fastly.net
192.30.253.112 github.com
151.101.184.133 assets-cdn.github.com
151.101.184.133 avatars0.githubusercontent.com
151.101.112.133 avatars1.githubusercontent.com

保存即可打开github

 

 

posted @ 2020-02-03 18:57  奔跑的小七  阅读(6000)  评论(0编辑  收藏  举报