Planning of project construction branch

I haven"t done much multi-project development of a base code version before, but now I want to pull branches of each project. My plan is to first pull a set of common code as the backbone, which only contains the basic code and business logic that can be reused, and other versions as branches, each add projects on it and inherit these common codes. each project"s own business logic is written in its own project. If there is code reuse or the addition of common code is maintained in the trunk, other branch Synchronize backbone, specific each project"s own business logic is maintained in its own branch, I wonder if there is any problem with this? Do you have any good suggestions on how to do this in general?

May.01,2021

I think submodule is better for this requirement, if you are using git.

Menu