Re: how do I merge completely unrelated repositories ?
- From
Asheesh Laroia <asheesh@asheesh.org>
- Date
- Jun 26, 2008, 18:26 UTC
- Message-ID
- <alpine.DEB.1.10.0806261120370.5253@sf.creativecommons.org>
- In-Reply-To
- <20080626161941.GX20723@cs-wsok.swansea.ac.uk>
On Thu, 26 Jun 2008, Oliver Kullmann wrote:
> I have around 10 CVS repositories, each with around 5 modules. This has > developed over time, and now I want to combine them all into a single > Git repository, with a new directory structure introduced.
I had a similar desire with git-svn; instead, what I do is a git-filter-branch that renames all the files in the repository.
man git-filter-branch gives you one way to do that; I basically re-invented that due to not scrolling all the way to the bottom, and run it every night on the git-svn repo since I want my everything-renamed repo to be kept as an up-to-date mirror of the svn repo.
That's my idea for you.
-- Asheesh.
-- Fast, cheap, good: pick two.