The remote end hung up unexpectedly while git cloning

后端 未结 30 2604
旧时难觅i
旧时难觅i 2020-11-22 09:02

My git client repeatedly fails with the following error after trying to clone the repository for some time.

What could be the issue here?

30条回答
  •  名媛妹妹
    2020-11-22 09:42

    Well, I wanted to push a 219 MB solution, but I had no luck with

    git config --global http.postBuffer 524288000
    

    And what's the point of having a 525 MB post buffer anyway? it's silly. So I looked at the git error below:

    Total 993 (delta 230), reused 0 (delta 0)
    POST git-receive-pack (5173245 bytes)
    error: fatal: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054
    

    So git want's to post 5 MB, then I made the post buffer 6 MB, and it works

    git config --global http.postBuffer 6291456
    

提交回复
热议问题