Not able to clone large repo code on git

前端 未结 3 1770
死守一世寂寞
死守一世寂寞 2021-01-12 10:30

I\'m getting an error like :-

Cloning into \'large-repository\'...
remote: Counting objects: 20248, done.
remote: Compressing objects: 100% (10204/10204), do         


        
3条回答
  •  旧时难觅i
    2021-01-12 10:34

    git config --global http.postBuffer 524288000
    
    git clone repo_url --depth 1
    

    I have followed above steps and finally I have successfully cloned my code.

提交回复
热议问题