git submodule: 3 modules same git repo?
- From
- Joakim Tjernlund <joakim.tjernlund@infinera.com>
- Date
- Aug 14, 2018, 22:27 UTC
- Message-ID
- <95e4f9df528a40bf3f3e648318904500343abf9a.camel@infinera.com>
I am trying to create 3 submodules from the same git repo, each pointing to a different branch. Since the repo is somewhat large, I don't want the 3 submodules to clone the same repo 3 times, I want one clone and then have the 3 submodules to point to different commits.
Is this possible? If not, could it be added?
Jocke