A git repository that I'm interacting with has a huge package file (1.7Gb!) so I've tried to follow this post. I was able to use git filter-branch
, but when I run git gc --aggressive --prune=now
I get:
$ git gc --aggressive --prune=now
Counting objects: 119622, done.
Delta compression using up to 4 threads.
error: pack-objects died of signal 9517)
error: failed to run repack
I tried to lower the threads to 2 and 1 already using git config --global pack.threads "2"
but it didn't help.
Thanks!