* Super repository
@ 2026-04-06 6:36 Gabor Urban
2026-04-07 6:58 ` Christian Couder
2026-04-07 14:52 ` Theodore Tso
0 siblings, 2 replies; 3+ messages in thread
From: Gabor Urban @ 2026-04-06 6:36 UTC (permalink / raw)
To: git
Hi guys,
I need some help. I could not find how look for solution.
We have a project in:../foo/Project1 under git locally for a while. In
a couple of days (or weeks) we are to start two new projects.
According to the management we have to make ../foo/Project2 and
../foo/Projetc3 to be brought under git.
The real issue: we are told the create a new repository for all 3
projects (inf /foo/), but we must not lose the development history
stored in the local git repositiy of Project1
Is there any good solution for that? Thanks for your help in advance.
--
Urbán Gábor
Linux is like a wigwam: no Gates, no Windows and an Apache inside.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Super repository
2026-04-06 6:36 Super repository Gabor Urban
@ 2026-04-07 6:58 ` Christian Couder
2026-04-07 14:52 ` Theodore Tso
1 sibling, 0 replies; 3+ messages in thread
From: Christian Couder @ 2026-04-07 6:58 UTC (permalink / raw)
To: Gabor Urban; +Cc: git
Hi,
On Mon, Apr 6, 2026 at 8:36 AM Gabor Urban <urbangabo@gmail.com> wrote:
>
> Hi guys,
>
> I need some help. I could not find how look for solution.
>
> We have a project in:../foo/Project1 under git locally for a while. In
> a couple of days (or weeks) we are to start two new projects.
> According to the management we have to make ../foo/Project2 and
> ../foo/Projetc3 to be brought under git.
>
> The real issue: we are told the create a new repository for all 3
> projects (inf /foo/), but we must not lose the development history
> stored in the local git repositiy of Project1
>
> Is there any good solution for that? Thanks for your help in advance.
This looks quite similar to the example on:
https://github.com/newren/git-filter-repo?tab=readme-ov-file#simple-example-with-comparisons
Best,
Christian.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Super repository
2026-04-06 6:36 Super repository Gabor Urban
2026-04-07 6:58 ` Christian Couder
@ 2026-04-07 14:52 ` Theodore Tso
1 sibling, 0 replies; 3+ messages in thread
From: Theodore Tso @ 2026-04-07 14:52 UTC (permalink / raw)
To: Gabor Urban; +Cc: git
On Mon, Apr 06, 2026 at 08:36:08AM +0200, Gabor Urban wrote:
>
> We have a project in:../foo/Project1 under git locally for a while. In
> a couple of days (or weeks) we are to start two new projects.
> According to the management we have to make ../foo/Project2 and
> ../foo/Projetc3 to be brought under git.
>
> The real issue: we are told the create a new repository for all 3
> projects (inf /foo/), but we must not lose the development history
> stored in the local git repositiy of Project1
>
> Is there any good solution for that? Thanks for your help in advance.
So in general this is a bad idea if Project 2 and Project 3 hare going
to be separate projects and you aren't planning on merging them into a
single tree. Is your company trying to do this because they are too
cheap to pay github for more than one private repository, by any
chance?
In any case, depending on what exactly you are trying to do, take a
look at the two answers here:
https://www.reddit.com/r/git/comments/17wj0bj/merging_multiple_repositories_into_one/
- Ted
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-07 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 6:36 Super repository Gabor Urban
2026-04-07 6:58 ` Christian Couder
2026-04-07 14:52 ` Theodore Tso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox