How do I clone a large Git repository on an unreliable connection?

后端 未结 6 790
悲&欢浪女
悲&欢浪女 2020-12-30 20:21

I want to clone LibreOffice. From the official website, this is what\'s written:

All our source code is hosted in git:

Clone: $ git clone gi

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 21:08

    Increase buffer size so that git can utilize your bandwidth properly. Use following commands.

    git config --global core.compression 0
    
    git config --global http.postBuffer 1048576000
    
    git config --global http.maxRequestBuffer 100M
    
    git clone 
    

    Wait till clone get complete.

提交回复
热议问题