I have few repos that requre same files in each. I discovered that I can use git submodules to do it but I got stuck.
Let's say this is a file structure in each of my projects:
MainCatalog/
- CatalogA (contains some files)
- CatalogB (contains some files)
- CatalogC (contains some files)
- File1
- File2
- ...
And with that structure I'd like to use a submodule for two catalogs (CatalogA and CatalogB) Is it possible? Or should I use two submodules for each catalog?