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
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