Re: Submodules: Publishing a locally created submodule.
- From
Mark Levedahl <mlevedahl@gmail.com>
- Date
- Jul 24, 2008, 23:30 UTC
- Message-ID
- <48891088.40709@gmail.com>
- In-Reply-To
- <18071eea0807240840g79da962ci8fbc65546d496323@mail.gmail.com>
Thomas Adam wrote:
Show 12 quoted lines
> Hello all, > > > Now: I want to make mysubmoduleB a submodule which I can publish to > the shared repository and when others pull, to see that submodule and > be able to treat it as such. > > But I can't see how to do that. Can someone help? > > Many thanks in advance. > > -- Thomas Adam
git submodule add <URL where this will exist> ./mysubmoduleB
will recognize that mysubmoduleB is already a valid git repo and add it as is at the current location to the superproject.
Mark