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

Re: git remote vs. submodules

From
PDPatrick Doyle <wpdster@gmail.com>
Date
Nov 11, 2010, 14:44 UTC
Message-ID
<AANLkTin=t7RoLTwxc1KOv7_vZi-OgD_Jcu+66-fte6Sq@mail.gmail.com>
In-Reply-To
<4CDBD4D4.1080607@dbservice.com>
On Thu, Nov 11, 2010 at 6:34 AM, Tomas Carnecky <tom@dbservice.com> wrote:
> Are you maybe looking for a subtree merge?
> http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html

Yeah, that looks like it. I never would have hit upon the read-tree step by myself -- I would have just laid things out with the prefix already embedded in the subprojects.

Hmmm... it seems to me that feeding changes back to the subprojects might be difficult (and that is born out by a comment at the end of the page you referenced.)

How much do folks use this approach?
--wpd
Previous: Tomas CarneckyNext: Tomas Carnecky
Message 3 of 5 in “git remote vs. submodules”
  1. Patrick DoyleNov 11, 2010
  2. Tomas CarneckyNov 11, 2010
  3. Patrick DoyleNov 11, 2010
  4. Tomas CarneckyNov 11, 2010
  5. Patrick DoyleNov 11, 2010

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.