git gc on machine with quota -
Simple question, I'm trying to run git gc
on a machine with a quota . Pre-GC, I'm using around 18 GB, almost all of my clone GIT repositories. My disk limit is 25 GB git gc
During operation, enough temporary files are written to disk to kill my limit and for this reason the git gc
operation fails Go.
I remove the .git / objects / pack / tmp_pack _ *
after the unsuccessful operation and use back 18 GB, but I actually actually get the git Gc
and retrieve a small display.
Is there any fancy option (or series of other GIT commands) that I can use in which the first write> does not include 7 GB temporary files on the disk?
Which part of gc
is important to you? You can try to run git-prune
and git-repack
parts separately, with git-prune
, and make sure the expired
option if your repo has a ton of loose commodities, then they will help in advance. *
With git-repack
, you can probably mess up deeply and get some small enough window settings to run in the space you have.
* I do not pretend to fully understand all the issues involved, but I think the repune in the
git-gc code
Comments
Post a Comment