From: Mark Levedahl Date: Thu, 24 Jul 2008 23:30:16 GMT Subject: Re: Submodules: Publishing a locally created submodule. Message-ID: <48891088.40709@gmail.com> In-Reply-To: <18071eea0807240840g79da962ci8fbc65546d496323@mail.gmail.com> Thomas Adam wrote: > 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 ./mysubmoduleB will recognize that mysubmoduleB is already a valid git repo and add it as is at the current location to the superproject. Mark