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

Re: Submodules

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 7, 2007, 22:49 UTC
Message-ID
<Pine.LNX.4.64.0708072344450.14781@racer.site>
In-Reply-To
<a1bbc6950708071537xfa6b9a0ne8cf66e345fa31b4@mail.gmail.com>
Hi,
On Tue, 7 Aug 2007, Dmitry Kakurin wrote:
> Where can I find more information about submodules?
> I'm interested in both internal implementation details and how to use them.

Most information is found in git-submodule.sh, although Documentation/git-submodule.txt has beginnings of a good documentation.

The basic idea is this:
A subdirectory contains a self-contained project.

Once that project is at a stage you want to have in the superproject, you can commit that submodule state, much like a subdirectory.

However, the history can progress in much coarser steps for the superproject. IOW an ideal case for msysgit.git, where we want to have a stable version which can be checked out with GitMe.

Also, find more about submodules here:
http://git.or.cz/gitwiki/SubprojectSupport?highlight=%28submodule%29

Ciao, Dscho

Previous: Dmitry KakurinNext: Dmitry Kakurin
Message 2 of 19 in “Submodules”
  1. Dmitry KakurinAug 7, 2007
  2. Johannes SchindelinAug 7, 2007
  3. Dmitry KakurinAug 7, 2007
  4. Sven VerdoolaegeAug 8, 2007
  5. Johannes SchindelinAug 7, 2007
  6. Dmitry KakurinAug 7, 2007
  7. Johannes SchindelinAug 8, 2007
  8. Sven VerdoolaegeAug 8, 2007
  9. Junio C HamanoAug 8, 2007
  10. Johannes SchindelinAug 8, 2007
  11. Junio C HamanoAug 8, 2007
  12. Sven VerdoolaegeAug 8, 2007
  13. Junio C HamanoAug 8, 2007
  14. Johannes SchindelinAug 8, 2007
  15. Junio C HamanoAug 8, 2007
  16. Andy ParkinsAug 8, 2007
  17. Johannes SchindelinAug 8, 2007
  18. Sven VerdoolaegeAug 9, 2007
  19. Sven VerdoolaegeAug 8, 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.