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

Re: Breaking up repositories

From
Dave Hanson <drh@drhanson.net>
Date
May 31, 2007, 13:55 UTC
Message-ID
<9fb1551c0705310655r234eca96md32ce157b98eff46@mail.gmail.com>
In-Reply-To
<31e9dd080705302350x7752c1f0p3dee2f0d35a97b56@mail.gmail.com>
I had similar problem; I split my monolithic repo, monolithic-git, as follows.
1. When I did the git-svn, I ended up with git branches for each
project in my svn repo. I think I created these by hand, but I don't
recall.
2. To split project foo into its own repo, foo-git, from monolithic-git, I did:

mkdir foo-git cd foo-git git init git pull ../monolithic-git foo

>From then on, I worked in foo-git. Eventually, I pitched

monolithic-git. I suspect there's a better way to do this...others will surely chime in. dave h

Previous: Jason Sewall
Message 2 of 2 in “Breaking up repositories”
  1. Jason SewallMay 31, 2007
  2. Dave HansonMay 31, 2007

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.