Re: Any tips for improving the performance of cloning large repositories?
- From
- Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no>
- Date
- Dec 16, 2011, 13:11 UTC
- Message-ID
- <hbf.20111216yufz@bombur.uio.no>
- In-Reply-To
- <CAJ-05NPP7aCcr_SYxLYk8U1entDMv0aF2Me3cTGmOLjYqFKUOA@mail.gmail.com>
Alex Bennee writes:
> We've migrated our old CVS repository into GIT without too many > issues. However now we are rolling out the usage of the new repository > we are hitting some performance bottlenecks, especially on the initial > clone (something our buildbot instance does a lot).
Do you often need to clone from a remote? Instead of cloning from a local (git clone --mirror) which gets auto-updated from the remote.
Could the buildbot make do with a shallow repo, clone --depth <num>?
-- Hallvard