github太慢,github網(wǎng)頁(yè)打開(kāi)慢,github下載提速,git clone 提速

網(wǎng)頁(yè)打開(kāi)提速文案:

1、墻(個(gè)人使用lantern)

2、hosts定向

查詢(xún):http://tool.chinaz.com/dns

相關(guān)域名列表:

192.30.253.112 github.com

192.30.253.118 gist.github.com

151.101.112.133 assets-cdn.github.com

151.101.184.133 raw.githubusercontent.com

151.101.112.133 gist.githubusercontent.com

151.101.184.133 cloud.githubusercontent.com

151.101.112.133 camo.githubusercontent.com

151.101.112.133 avatars0.githubusercontent.com


151.101.112.133 avatars1.githubusercontent.com

151.101.184.133 avatars2.githubusercontent.com

151.101.12.133 avatars3.githubusercontent.com

151.101.12.133 avatars4.githubusercontent.com

151.101.184.133 avatars5.githubusercontent.com

151.101.184.133 avatars6.githubusercontent.com

151.101.184.133 avatars7.githubusercontent.com

103.245.222.249 github.global.ssl.fastly.net

204.232.175.78? documentcloud.github.com

107.21.116.220? help.github.com

207.97.227.252? nodeload.github.com

199.27.76.130? raw.github.com

107.22.3.110? ? status.github.com

204.232.175.78? training.github.com


ip 域名寫(xiě)入hosts


下載提速文案:

1、借用國(guó)內(nèi)git,從github克隆

案例:不過(guò)當(dāng)這個(gè)項(xiàng)目或者demo比較大時(shí),就很麻煩了,筆者曾經(jīng)花四個(gè)多小時(shí)最后也沒(méi)有成功clone一個(gè)兩百多兆的項(xiàng)目

? ? 之所以慢肯定是我們與github服務(wù)器之間的連接不太通順,找個(gè)通順的git服務(wù)器轉(zhuǎn)換一下就行了,然后再?gòu)倪@個(gè)已經(jīng)clone完畢的服務(wù)器進(jìn)行下載或者clone,個(gè)人感覺(jué)有點(diǎn)類(lèi)似迅雷的離線下載。

操作步驟很簡(jiǎn)單,直接上圖了。

找到github上這個(gè)項(xiàng)目或者demo的地址,復(fù)制一份

https://github.com/songxing10000/SXActionSheet



然后,到http://git.oschina.net/新建一個(gè)項(xiàng)目


然后導(dǎo)入這個(gè)git地址,創(chuàng)建就行了



那么現(xiàn)在gitoschina已經(jīng)正在處理這個(gè)倉(cāng)庫(kù)了


處理完畢了,以后要更新可以點(diǎn)這里,現(xiàn)在你的下載速度就快得多了


5月7日更新,試了下,

https://coding.net

有時(shí)無(wú)法克隆,不過(guò)如果能克隆的話還是比oschina快。但是oschina是都能克隆下來(lái)的,只不過(guò)時(shí)間不如coding的快,這兩個(gè)的使用得看讀者自己來(lái)?yè)Q著用了。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容