這幾天莫名其妙的發(fā)現(xiàn)github上不去了留美,我去,作為一個(gè)開發(fā)者這個(gè)網(wǎng)站上不去了多么痛苦伸刃,于是就百度百度谎砾,找到了解決方案。挺簡單的捧颅,想把這個(gè)記錄下來吧景图!
首先找到hosts文件進(jìn)行修改: hosts文件路徑:前往文件夾 -> /etc/hosts
找到hosts文件將如下鏈接復(fù)制到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
好了 保存即可!(hosts文件不能直接被修改碉哑,需要拷貝一份在外面挚币,再修改,然后替換?鄣洹)