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

submodules: reuse .git/modules/... for multiple checkouts of same URL

From
Sstefan.liebl@partner.bmw.de <stefan.liebl@partner.bmw.de>
Date
Mar 3, 2014, 12:24 UTC
Message-ID
<175C83AE67A6484B9A9351B9AE4D0662042809@smucm57a>
Hi,
I have a git superproject with 3 submodules. The submodules are cloned from the same URL but use different branches. Git clones the repo three times and I have three entries in .git/modules. Is it possible to reuse the first clone for the next submodule clones?
Stefan
Next: Andrew Keller
Message 1 of 2 in “submodules: reuse .git/modules/... for multiple checkouts of same URL”
  1. stefan.liebl@partner.bmw.deMar 3, 2014
  2. Andrew KellerMar 3, 2014

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.