How to implement/manage multiple projects in one Git repo?

11,309

Do you put code for each app in separate source control repositories or do they live in a single repository?

What is the usual practice?

They should be in a single repository each.

You can use submodules for this purpose.

Submodule is a project inside project. The benefits of submodules is that it will allow you to have project within another project.

Git-Tools-Submodules
git-tip-of-week-git-submodules

enter image description here

Share:
11,309
takeradi
Author by

takeradi

Updated on June 04, 2022

Comments