How to handle multiple variants of a project in git?
I have a project X in a git repo. It that has features A,B,C,D.
I want to create a new, similar project YT, but with small variations. It will have Features A,B,D',E, where D' is very similar with D but with a few lines of code changed.
The project is a monolith, not very easy to seaparate features in different components.
How should I handle versioning so I can always change both projects in the future?
I was thinking of creating a new branch from project X and call it project Y. Then, in theory I will be able to still modify project X and merge the changes in project Y. I am not sure how well it would work with the feature C, which is deleted (will I always get merge conflicts?).
2283 views