I have a local-only repository which used to contain very large files (scans and some DB files). At some point I decided I'd remove the directory containing all those, and rewrite the history to eradicate the directory in question.
I ended up with a very light repo, but the .git directory still takes 1.3G of space. There is only one pack, and I identified at least one blob in this pack taking a lot of space.
I tried a lot of things to clean up the repo, including various summonings of git gc, but nothing works, not even git forget-blob. Git forget-blob tells me « not found in the repo history ».
At that point, I'm lost. Any help appreciated.
Thanks!
EDIT: some additional information which I find very bizarre. Git verify-pack shows me 3 very big files:
git verify-pack -v .git/objects/pack/pack-5cc03e9fbdbdff4ce1bbeb43c55c3e17875f2bd7.idx| sort -k 3 -n | tail -3
4983118ae60be35299b153dc5850134329f6ddf0 blob 7336960 2000979 615935480
5c810dfffa6a033631596218c43a7360cf2aff10 blob 12455669 1197771 6330554
25012927d95cf3bd15f2a8cb30da2c4f4b988e82 blob 105476096 83834099 532101381
However, I cannot get any information on those blobs. How's that possible?
git rev-list --objects --all | grep 250129
zsh: done git rev-list --objects --all |
zsh: exit 1 grep --color 250129