Optimizing repository speed
- From
Bill Lear <rael@zopyra.com>
- Date
- Feb 19, 2007, 14:37 UTC
- Message-ID
- <17881.46642.843674.49482@lisa.zopyra.com>
As part of our conversion to git 1.5, I would like to ensure that our code repository does not get crufty and slow. Currently, I have a cron job that runs each morning that does a 'git repack -a -d'.
I know there is 'git-gc', and it appears to do all sorts of good things. Can I simply replace my call to 'git repack -d -a' with 'git gc', or is there anything else I might want to do?
Bill