github - git clone 一个比较大的 repo 出错, 纠结我 1 天了, 求助
巴扎黑
巴扎黑 2017-04-27 09:02:49
0
3
638

下面用的是git submodule update, 用git clone ... --recursive问题是一样的

akagi201@akgentoo ~/a20-kernel (master*) $ git config http.postBuffer 5024288000
akagi201@akgentoo ~/a20-kernel (master*) $ git submodule update
Cloning into 'linux-sunxi'...
remote: Counting objects: 4022357, done.
remote: Compressing objects: 100% (682462/682462), done.
error: RPC failed; result=18, HTTP code = 200.31 MiB | 654.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Clone of 'https://github.com/linux-sunxi/linux-sunxi.git' into submodule path 'linux-sunxi' failed
巴扎黑
巴扎黑

répondre à tous(3)
Ty80

Si vous ne souhaitez pas consulter l'historique des commits, vous pouvez le faire

git clone url --depth  1
过去多啦不再A梦

Cloner en utilisant le ssh protocole

给我你的怀抱

RPC a échoué ; résultat=18, code HTTP = 200 Solution à l'erreur :
Exécuter git repack -a -f -d --window=250 --depth=250.

Si l'erreur persiste, veuillez exécuter :

git gc --aggressive

git repack -a -f -d --window=250 --depth=250

Vous pouvez également passer au push d'adresse SSH :
Applicable au codage https://coding.net/help/faq/g...
Applicable à GitHub https://help.github.com/ artique...

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!