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

Re: How-to combine several separate git repos?

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Dec 9, 2007, 19:55 UTC
Message-ID
<Pine.LNX.4.64.0712091445470.5349@iabervon.org>
In-Reply-To
<475C3E25.30704@saville.com>
On Sun, 9 Dec 2007, Wink Saville wrote:
> Another option I was thinking would work for me would be to use
> submodules. But I'm not sure submodules are ready for
> neophytes and maybe it doesn't do what I want?

I think that submodules do what you want. And they may not be ready for neophytes to just use, but they're ready for neophytes to try using and tell us where things get confused. That is, I don't think git developers know of anything still wrong with submodules, so we need people to try using them and say "I can't use submodules now because...". Or, of course, the code might be fine now and the discussion just too intimidating.

In any case, if you create a new repository, and fetch stuff into it, and don't push stuff back, you can't screw up the original (obviously), so it should be safe and possibly informative to play around with submodules.

	-Daniel
*This .sig left intentionally blank*
Previous: Wink SavilleNext: Wink Saville
Message 4 of 13 in “How-to combine several separate git repos?”
  1. Wink SavilleDec 9, 2007
  2. Alex RiesenDec 9, 2007
  3. Wink SavilleDec 9, 2007
  4. Daniel BarkalowDec 9, 2007
  5. Wink SavilleDec 9, 2007
  6. Daniel BarkalowDec 10, 2007
  7. Wink SavilleDec 10, 2007
  8. Daniel BarkalowDec 10, 2007
  9. Wink SavilleDec 10, 2007
  10. Daniel BarkalowDec 10, 2007
  11. Wink SavilleDec 10, 2007
  12. Alex RiesenDec 10, 2007
  13. Wink SavilleDec 10, 2007

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.