{"thread":{"id":"65441","subject":"Super repository","startedAt":"2026-04-06T06:36:22Z","lastAt":"2026-04-07T14:53:29Z","messageCount":3,"participants":["Gabor Urban","Christian Couder","Theodore Tso"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"540966","messageId":"CAL=1hhxP08w=pMa39izN7SyFzsv+5HWZhtzhh136ZmG2dg7Xtw@mail.gmail.com","threadId":"65441","inReplyTo":null,"subject":"Super repository","fromName":"Gabor Urban","fromEmail":"urbangabo@gmail.com","sentAt":"2026-04-06T06:36:08Z","receivedAt":"2026-04-06T06:36:22Z","isPatch":false,"body":"Hi guys,\n\nI need some help. I could not find how look for solution.\n\nWe have a project in:../foo/Project1 under git locally for a while. In\na couple of days (or weeks) we are to start two new projects.\nAccording to the management we have to make ../foo/Project2 and\n../foo/Projetc3 to be brought under git.\n\nThe real issue: we are told the create a new repository for all 3\nprojects (inf /foo/), but we must not lose the development history\nstored in the local git repositiy of Project1\n\nIs there any good solution for that? Thanks for your help in advance.\n-- \nUrbán Gábor\n\nLinux is like a wigwam: no Gates, no Windows and an Apache inside.\n"},{"id":"541046","messageId":"CAP8UFD0uAr6-aXGV1+HDFVczXGTc_K-E-jqVvqTT9JJ=QT2L0g@mail.gmail.com","threadId":"65441","inReplyTo":"CAL=1hhxP08w=pMa39izN7SyFzsv+5HWZhtzhh136ZmG2dg7Xtw@mail.gmail.com","subject":"Re: Super repository","fromName":"Christian Couder","fromEmail":"christian.couder@gmail.com","sentAt":"2026-04-07T06:58:32Z","receivedAt":"2026-04-07T06:58:42Z","isPatch":false,"body":"Hi,\n\nOn Mon, Apr 6, 2026 at 8:36 AM Gabor Urban <urbangabo@gmail.com> wrote:\n>\n> Hi guys,\n>\n> I need some help. I could not find how look for solution.\n>\n> We have a project in:../foo/Project1 under git locally for a while. In\n> a couple of days (or weeks) we are to start two new projects.\n> According to the management we have to make ../foo/Project2 and\n> ../foo/Projetc3 to be brought under git.\n>\n> The real issue: we are told the create a new repository for all 3\n> projects (inf /foo/), but we must not lose the development history\n> stored in the local git repositiy of Project1\n>\n> Is there any good solution for that? Thanks for your help in advance.\n\nThis looks quite similar to the example on:\n\nhttps://github.com/newren/git-filter-repo?tab=readme-ov-file#simple-example-with-comparisons\n\nBest,\nChristian.\n"},{"id":"541070","messageId":"20260407145224.GB81690@macsyma-wired.lan","threadId":"65441","inReplyTo":"CAL=1hhxP08w=pMa39izN7SyFzsv+5HWZhtzhh136ZmG2dg7Xtw@mail.gmail.com","subject":"Re: Super repository","fromName":"Theodore Tso","fromEmail":"tytso@mit.edu","sentAt":"2026-04-07T14:52:24Z","receivedAt":"2026-04-07T14:53:29Z","isPatch":false,"body":"On Mon, Apr 06, 2026 at 08:36:08AM +0200, Gabor Urban wrote:\n> \n> We have a project in:../foo/Project1 under git locally for a while. In\n> a couple of days (or weeks) we are to start two new projects.\n> According to the management we have to make ../foo/Project2 and\n> ../foo/Projetc3 to be brought under git.\n> \n> The real issue: we are told the create a new repository for all 3\n> projects (inf /foo/), but we must not lose the development history\n> stored in the local git repositiy of Project1\n> \n> Is there any good solution for that? Thanks for your help in advance.\n\nSo in general this is a bad idea if Project 2 and Project 3 hare going\nto be separate projects and you aren't planning on merging them into a\nsingle tree.  Is your company trying to do this because they are too\ncheap to pay github for more than one private repository, by any\nchance?\n\nIn any case, depending on what exactly you are trying to do, take a\nlook at the two answers here:\n\nhttps://www.reddit.com/r/git/comments/17wj0bj/merging_multiple_repositories_into_one/\n\n\t\t\t\t\t\t- Ted\n\t\t\t\t\t\t\n"}]}