submodule usage with links
- From
Nigel Magnay <nigel.magnay@gmail.com>
- Date
- Mar 17, 2008, 13:52 UTC
- Message-ID
- <320075ff0803170652i75041745v7825915f153fa577@mail.gmail.com>
Hi there
We use a lot of repo links that I'd like to use submodule support for.
Instead of doing git submodule add ~/module/a or even git submodule add git://myhost/module/a
I'd like to share a, and do something like
<<add value to .gitmodules>> ln -s a ../modules/a ?? do something to add 'A' to the index as a 'subproject commit' rather than a symlink ??
I'm stuck on the last bit - or is this not going to work?