submodules: reuse .git/modules/... for multiple checkouts of same URL
- From
- stefan.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