I have the following situation:
Give me ideas for multiple modules part of a bigger project. Do you prefer using git submodules, and if yes, in what way? Or do you use a master folder for the project, e.g.:
Software_Project
Module_1
Module_2
Module_3
Module_4
Any ideas for an appropriate git repo structure are welcome.
Since you are saying that you commit features that usually span over several modules, I'd put everything in the same git repository, unless it's truly an orthogonal module and completely independent from the rest of the project, where instead a submodule might be appropriate. You will be happy to have the possibility to commit features the way git was supposed be used. Multiple commits in several git repositories? Nah, I'd rather have the code closer together. Well, it's a trade off like everything else.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With