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

Superproject branch tracking?

From
Jon Loeliger <jdl@freescale.com>
Date
Jan 21, 2009, 21:22 UTC
Message-ID
<49779220.5000900@freescale.com>
Guys,

Can someone tell me what the current best practice to have a Git supermodule maintain a branch that is actively tracking a similarly named branch in all of the submodules?

That is, I want have a scenario where I would like the master branch of a super-project to always (or on demand) reflect the current HEAD of the master branch in each of the submodules.

Does anyone have a script up their sleeve that I can use as a hook in the super to notice updates to a submodule and cause it to scurry around the sub-modules and create a new (updated) commit in the super?

Thanks, jdl

Next: David Aguilar
Message 1 of 2 in “Superproject branch tracking?”
  1. Jon LoeligerJan 21, 2009
  2. David AguilarJan 21, 2009

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.