Broken pipe when pushing to git repository

前端 未结 7 1774
长情又很酷
长情又很酷 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:57

    I met the same problem when uploading my gigabytes of data to github repository. Increasing the HTTP buffer size did not work for this size of data. I am not sure if it is a problem of git itself or github server. Anyway I made a shell script to handle this problem, which uploades files in the current directory step by step, in each step less than 100 MB of data. It is working fine for me. It takes time but I can just detach screen and wait overnight.

    Here is the shell script: https://gist.github.com/sekika/570495bd0627acff6c836de18e78f6fd

    0 讨论(0)
提交回复
热议问题