I thank you for the infos and i'll try that repack and unpack thing.
I need to keep the pack file small, because if i have, like i do, 50
Projects on my server and every small wordpress project has 2-3 Gigabyte
disc space, my server runs out of space soon.
In the future i have to .gitignore my concept and gallery folders, but for
the present projects, i need a way to "shrink the pack".
Am Mittwoch, 16. Juli 2014 10:00:52 UTC+2 schrieb Magnus Therning:
> On Wed, Jul 16, 2014 at 12:49:20AM -0700, cemico wrote:
> > As far as i understood, the pack file get's generated through the "git
> > garbage collection command.
> > But i tried really much by now and didn't find the right way.
> > That's the only point i'm missing:
> > How to rewrite the pack file, ignoring every file and folder that's not
> > the commit history.
> Ah, that's the pack file you are talking about :)
> Why do you care about it at all? It's internal to git and AFAIK there
> is no need to ever worry about it since git does the best it can to
> keep it small. If you really need then it sounds like you should
> explore `git repack` and `git unpack-objects`. I haven't played
> around with that myself yet, but hopefully someone else will be able
> to help if you have further questions.
> Magnus Therning OpenPGP: 0xAB4DFBA4
> twitter: magthe http://therning.org/magnus
> Any fool can write code that a computer can understand. Good programmers
> write code that humans can understand.
> -- Martin Fowler
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.