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

Re: Big Mess--How to use Git to resolve

From
SRSeth Robertson <in-gitvger@baka.org>
Date
Dec 21, 2011, 23:56 UTC
Message-ID
<201112212356.pBLNuApC009997@no.baka.org>
In-Reply-To
<4EF26F7B.90206@gmail.com>
In message <4EF26F7B.90206@gmail.com>, Neal Kreitzinger writes:
    We are working on implementing this so some of what I said is 
    theoretical.  Custom branches in combination with submodules seems like 
    it could get pretty unwieldy if not managed properly.

You might want to consider using gitslave (http://gitslave.sf.net) which is easier to use when you are developing both the superproject and the subprojects at the same time. You don't have to use the "mother-may-I" commit protocol.

The trick with gitslave is that normally you run all git commands on all repositories at the same time. So all repositories which are part of the superproject will be on the same branch. This sounds like it is ideal for you.

However, you do lose the strong binding between the superproject commit and the subproject commit, so you would want to tag all projects (trivial when using gitslave) when you go through a release so that you can later go back and check out synchronized repositories for a particular release.

					-Seth Robertson
Previous: Neal Kreitzinger
Message 7 of 7 in “Big Mess--How to use Git to resolve”
  1. hs_glwDec 17, 2011
  2. Randal L. SchwartzDec 17, 2011
  3. hs_glwDec 17, 2011
  4. Holger HellmuthDec 19, 2011
  5. Neal KreitzingerDec 21, 2011
  6. Neal KreitzingerDec 21, 2011
  7. Seth RobertsonDec 21, 2011

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.