嗯嗯,今天很衰了。linux
忽然發現前幾天徹底是亂搞,今天文哥說我git用的不對,因而從新,git。git
而後通過千萬次的嘗試,依舊無疾而終。罪魁禍首即是curl
error: RPC failed; result=18, HTTP code = 200 KiB/s
fatal: The remote end hung up unexpectedly
fatal: 過早的文件結束符(EOF)1.62 MiB | 4.00 KiB/s
fatal: index-pack failedpost
分析緣由以下:url
1. 網速過慢.net
2. 文件過大code
個人狀況應該屬於,後者。blog
雖然80%依舊很慢,但終於成功了。【哭】rem
解決方案:it
git config --global http.postBuffer 524288000
# some comments below report having to double the value: git config --global http.postBuffer 1048576000
參考:http://blog.csdn.net/oshuangyue12/article/details/78882151
---------------------------------------------------------------------------------------------------------------
更改於1小時後,
雖然,linux下很幸運clone下來,可是win10下依舊發生了錯誤:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
繼續百度之,獲得另外一個方案,在c:\\programdata\git\找到config文件,修改core中,添加compression=-1
查到此參數設置壓縮的,故猜測,可能仍是文件太大,雖然還不是很清楚【繼續哭】
參考:
http://blog.csdn.net/u012635819/article/details/50906711
http://blog.csdn.net/realdonaldtrump/article/details/78925691