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

Merging two Git-Repositories

From
SKSteve Keller <keller.steve@gmx.de>
Date
Dec 17, 2019, 09:28 UTC
Message-ID
<trinity-c6dbf360-5abe-43df-8428-85514195a7a6-1576574916643@3c-app-gmx-bs62>

Is it possible to merge one Git-Repository into another? I have developed two independent repositories A and B, and now I find that B should be part of A in new sub-directory, e.g. A/B. I want to move B into A while keeping the whole development history of B.

How can I do that?
Steve
Next: Roger Gammans
Message 1 of 4 in “Merging two Git-Repositories”
  1. Steve KellerDec 17, 2019
  2. Roger GammansDec 17, 2019
  3. Jared TobinDec 17, 2019
  4. Stephan BeyerDec 17, 2019

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.