We use GIT to manage our project.
Each project has a “core” (for example, the structure from which we will build the project). Thus, each project has at least 2 branches of remote objects:
- 1 repository for this core structure.
- 1 repository per client project.
We also have modules. Each module has a kernel that contains the main functional function, and we select each module from this base for each client.
- So, we have submodules that are included in each client project.
- But I can’t understand how to handle part of the personalization of submodules.
How does GIT help me if I want to add some new files to a submodule that should only be used in one specific client project?
Since thoses files are personalized for the main project, it would be best to commit some files contained within the submodule to the client project branches, but it seems like I cannot, since each submodule is independent.
Ps: We use SmartGit.
source share