I am working on a system where I have a very small disk quota (5GB). I have a few large datasets, versioned with git
and my disk quota was beginning to run out. My data was ~2GB and my .git
directory was around 2GB also, so I tried a repack with
git repack -a -d --depth=250 --window=250
But I ran out of quota during the repack
$ git repack -a -d --depth=250 --window=250
Counting objects: 5168, done.
Delta compression using up to 48 threads.
Compressing objects: 100% (3840/3840), done.
fatal: fsync error on '.git/objects/pack/tmp_pack_W36UC8': Disk quota exceeded
Now my quota is full and there's not much I can do.
I notice that there are some large .git/objects/pack/tmp_pack_*
files clocking in just over 1GB, is it safe to delete these until I can get my quota increased?