Broken pipe when pushing to git repository

前端 未结 7 1804
长情又很酷
长情又很酷 2020-12-13 18:10

I\'m trying to push for the first time a code to my git repository but i get the following error:

Counting objects: 222026, done. 
Compressing o         


        
7条回答
  •  攒了一身酷
    2020-12-13 18:44

    Simple solution is to increase the HTTP post buffer size to allow for larger chunks to be pushed up to the remote repo. To do that, simply type:

    git config http.postBuffer 52428800
    

    The number is in bytes, so in this case I have set it to 50MB. The default is 1MB.

提交回复
热议问题