Broken pipe when pushing to git repository

前端 未结 7 1829
长情又很酷
长情又很酷 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条回答
  •  旧时难觅i
    2020-12-13 18:39

    I had the same problem, and this worked for me:

    git gc --aggressive --prune
    

    It took a while, but after it was done all git operations started working faster.
    The push operation that previously failed then succeeded, probably because it became fast enough to avoid some timeout related issue.

提交回复
热议问题