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

Re: split up a repository

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Mar 2, 2010, 10:40 UTC
Message-ID
<fabb9a1e1003020240h81f3e99wea1185c080a03b0@mail.gmail.com>
In-Reply-To
<20100302011226.76fda85d@gmail.com>
Heya,
On Tue, Mar 2, 2010 at 01:12, Kovacs, Levente <leventelist@gmail.com> wrote:
> How can I split up a single repo to several others? It would be nice to
> keep the history.

Sounds like a job for.... subtree man! Avery (cc-ed) has written a program 'git subtree' that lets you split off subtrees from a git repository (and optionally merge them back later on). I reckon that's what you want, yes?

-- 
Cheers,

Sverre Rabbelier
Previous: Chris PackhamNext: Levente Kovacs
Message 3 of 8 in “split up a repository”
  1. Kovacs, LeventeMar 2, 2010
  2. Chris PackhamMar 2, 2010
  3. Sverre RabbelierMar 2, 2010
  4. Levente KovacsMar 2, 2010
  5. Sverre RabbelierMar 2, 2010
  6. Avery PennarunMar 3, 2010
  7. Bill LearMar 3, 2010
  8. Avery PennarunMar 3, 2010

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.