早上剛剛github還能上去,過了幾分鐘顯示訪問不了啦,於是搜索找解決方案:
首先找到hosts文件進行修改:前往,前往文件夾,/etc/hosts
找到hosts文件,可以用sublime等編輯工具打開,將如下鏈接複製到hosts文件中
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
保存即可! 親身試驗。。。可以訪問啦!