Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push stuck at 99%

Tags:

git

What do you do when you've added too many large binary files (PSDs) and tried to push, and git gets stuck at 99%?

$ git push origin dev
Counting objects: 4790, done.
Delta compression using up to 4 threads.
Compressing objects:  99% (4504/4512)  

git is currently using 2.7 gigs of memory and climbing. It was 2.0 when I started typing this question. I think I'll kill it and hope someone knows a good solution.

like image 637
devth Avatar asked Jun 29 '10 17:06

devth


1 Answers

I see this is an old post, but for the record:

I suspect this is because of delta-compression of the binary files, and you can modify .gitattributes to tell git not to run delta-compression on given file extensions.

See: git pull without remotely compressing objects

like image 191
anr78 Avatar answered Sep 27 '22 18:09

anr78