I’m a happy user of Github. Over time I have accrued a number of little unrelated toy repos. I would now like to create a container repo – call it playpen, pull my various toy projects underneath the parent playpen as git submodules, and blow away to source toy repos. The toys should only live in the playpen. When I tried this using this recipe: http://git.or.cz/gitwiki/GitSubmoduleTutorial I discovered a big problem. See, I want to completely the repos and have them only live beneath playpen. When I went ahead and blew away the repos in github I was not able to follow the links within the playpen. Huh?
Could someone please explain to me how to do this? Thanks in advance
Cheer,
Doug
A submodule is a way of linking repositories together, but each submodule is it’s own complete self-contained repository. When you add a repository as a submodule of another repository you are only linking the repositories together, you are not moving the data into the parent repository. For this reason you can’t delete the repository that is the submodule without breaking this link.