开发者

Git push stuck at 99%

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 orig开发者_如何学编程in 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.


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


How long did you wait? If you have a lot of large files, it may take a while to push. If you really need to cancel the push, you can hit ctrl-c to stop it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜