On Fri, 19 Oct 2007, Linus Torvalds wrote: > > In fact, it should be enough to do > > cd /srv/DM > git init > git add . > git commit > > and you're now literally all done! .. btw, when I say that, I guess I'm lying a bit. Yes, the above will actually generate a valid git superproject repository, but it won't generate/populate the necessary .gitmodules stuff. You'd need to add it by hand. But yes, if you want to avoid doing that hand-editing, you should use the whole "git submodule add .." thing to clone the git repos you already have into a supermodule. But the .gitmodules thing really is pretty simple, you just do something like [submodule "x"] path = x url = official-url-of-x [submodule "y"] path = y url = official-url-of-y and now you just do "git submodule init" and you should be all done (again, the "git submodule init" thing you could do by hand by editing the .git/config file, but since you can do it automatically in-place, there's no real point). Linus - 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