Git pack folder size improvements for large repositories
Hi,
We run into a lot of issues where our \.git\objects\pack folder gets bloated with huge .pack files.
These issues only occur when using Gitkraken in our large repositories and switching between branches with differences in folder structures.
Is there any way we can fix these issues? Running 'git gc' clears these folders, but it's quite annoying to do this periodically.
Comments: 2
-
07 Jul, '22
Seb U.+1
In general:
Would you be so kind and add a utility feature right in the GUI to do
git gc [--aggressive] [--auto] [--quiet] [--prune=<date> | --no-prune] [--force] [--keep-largest-pack]
That would be fantastic ..... over time performance suffers quite a bit for us also when working with kraken alot. -
27 Oct, '22
Paul SkaggsMy experience with 'git gc' always ends with this:
Unlink of file '.git/objects/pack/pack-399d32ae82d94531d1feb4bfd02520778bde77ec.pack' failed. Should I try again? (y/n)
Always. I have to exit GitKraken, git gc, bask in the success, and start up kraken again.
I'd really like to not have to exit the tools in order to speed git up again.