I have a nested git repository structure, as below:
outer_repository/
|-- outer_dummy_file
|-- .git
`-- inner_repository
|-- .git
`-- inner_dummy_file
Is it possible to make inner_repository/.git
versioned with the outer repository?
Motivation:
I'm making a structure for new projects with cookiecutter. Every newly started project will have a predefined set of files and tools to begin with. One of the requirements for the automated versioning system if for the new project to be versioned with git and having an initial commit. The inner_repository
is a structure for the new projects.
git submodule
orgit subtree
? – Hirza