git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Oliver KullmannNext: Kelly F. Hickel
Message 7 of 9 in “how do I merge completely unrelated repositories ?”
  1. Christian MICHONJun 26, 2008
  2. Miklos VajnaJun 26, 2008
  3. Christian MICHONJun 26, 2008
  4. Johannes SchindelinJun 26, 2008
  5. Miklos VajnaJun 26, 2008
  6. Oliver KullmannJun 26, 2008
  7. Asheesh LaroiaJun 26, 2008
  8. Kelly F. HickelJun 26, 2008
  9. Jakub NarebskiJun 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.