Hello all, I'm a little confused having read the submodule chapter in the GIT users' manual and was wondering if someone here can help. I've setup a bare repository with some submodule in it which I and others are able to clone from just fine -- in that sense, it acts just like an "ordinary" repository. But I am a little stuck getting my head around a scenario: Most us here work in a very CVS-like way. I did the following: git clone ssh://foo/bar/project myclone cd ./myclone In there is a directory which is a submodule. At the time I created the bare repo it was cloned already from a repo which had a submodule. I decided I wanted another submodule to be published so I did this: cp -r ./mysubmoduleA ./mysubmoduleB && rm ./mysubmoduleB/.git 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html