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

Re: how do I merge completely unrelated repositories ?

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 26, 2008, 11:04 UTC
Message-ID
<g3vt3r$lm3$1@ger.gmane.org>
In-Reply-To
<46d6db660806260239xc57ffaag6469967ae2257cb1@mail.gmail.com>
Christian MICHON wrote:
Show 5 quoted lines
> I'd like to create a new empty repository and merge into it 2
> completely unrelated remote repositories.
> 
> How would you do it, since merge will not merge if it cannot find a
> common ancestor ?

The problem probably is _empty_ repository (what do you want to merge), not lack of common ancestors. git.git repository has joined unrelated projects (git-mail-tools, gitweb, gitk, git-gui) and it has several roots, and even a few separate branches.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Kelly F. Hickel
Message 9 of 9 in “how do I merge completely unrelated repositories ?”
  1. Christian MICHONJun 26, 2008
  2. Miklos VajnaJun 26, 2008
  3. Christian MICHONJun 26, 2008
  4. Johannes SchindelinJun 26, 2008
  5. Miklos VajnaJun 26, 2008
  6. Oliver KullmannJun 26, 2008
  7. Asheesh LaroiaJun 26, 2008
  8. Kelly F. HickelJun 26, 2008
  9. Jakub NarebskiJun 26, 2008

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.