I'm looking for a way to have isolated git repositories inside another repositories. My idea is to have a (base)repo containing the tools and client documentation of my team and the projects being an optional part of the directory structure: |
/home
/me
/myTeam(baseGit)
/tools
/clientDocumentation
/projects
/project1(git)
/project1(git)
In the example above, I want to have bash files containing the commands needed to download the "porjectX repo" twhen needed. in this case we can simply start a new worker with the base repo containing all the start info and tooling, and have him/her download the projects when needed.
How can I create this structure without the base Git repository assuming the projects as submodules?