ホームページ  >  に質問  >  本文

github - git clone 一个比较大的 repo 出错, 纠结我 1 天了, 求助

下面用的是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
巴扎黑巴扎黑2708日前643

全員に返信(3)返信します

  • PHP中文网

    PHP中文网2017-04-27 09:04:49

    コミット履歴を読みたくない場合は、これを行うことができます

    リーリー

    返事
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-04-27 09:04:49

    ssh プロトコルの複製を使用します

    返事
    0
  • 给我你的怀抱

    给我你的怀抱2017-04-27 09:04:49

    RPC が失敗しました; result=18、HTTP コード = 200 エラーの解決策:
    を実行します。 git repack -a -f -d --window=250 --depth=250

    それでもエラーが発生する場合は、次を実行してください:

    リーリー

    SSH アドレスプッシュに変更することもできます:

    コーディングに適用 https://coding.net/help/faq/g...
    GitHub に適用 https://help.github.com/artic...

    返事
    0
  • キャンセル返事