前兩天我打開github網站,想推送些東西上去,結果發現github成這樣了!
起初我並沒有在意。。以為是神馬網絡問題,然后沒理它了。結果今天又打開來看還是這樣,不管是用chrome firefox 都打不開,我直接百度收了一下,很簡單明顯 被牆了!
然后我就在百度,試過了七八次后,說什么在hosts文件改ip 都沒有用。后面就找到了一個辦法 一試 成了!!!
解決辦法:修改 C:\Windows\System32\drivers\etc 中的hosts文件
# GitHub Start
192.30.253.112 github.com
192.30.253.119 gist.github.com
151.101.100.133 assets-cdn.github.com
151.101.100.133 raw.githubusercontent.com
151.101.100.133 gist.githubusercontent.com
151.101.100.133 cloud.githubusercontent.com
151.101.100.133 camo.githubusercontent.com
151.101.100.133 avatars0.githubusercontent.com
151.101.100.133 avatars1.githubusercontent.com
151.101.100.133 avatars2.githubusercontent.com
151.101.100.133 avatars3.githubusercontent.com
151.101.100.133 avatars4.githubusercontent.com
151.101.100.133 avatars5.githubusercontent.com
151.101.100.133 avatars6.githubusercontent.com
151.101.100.133 avatars7.githubusercontent.com
151.101.100.133 avatars8.githubusercontent.com
# GitHub End
以上信息來源於網站:http://neue.v2ex.com/t/320178,感謝評論區chenxuhua的分享。
保存后。 一切都好了