I have a repo where i have two main branches (one is a custom version of the standard product and the other is the standard). They share like 90-95% of the code, but there are vital differences on them.
What is the best way to create new features that i can merge into both those branches?
Up until now i have started a new branches from one or the other of the main branches and then cherry picked into the other...but it's starting to be a pain. And the git tree looks like sh!t :(
If i merge the branches the receiving branch will be corrupted and have a ton of conflicts, so that is why i have been using cherry-pick.
Is there a nice workflow for something like this? There must be a better way. The reason i have the two main branches is because almost all of the code are identical, but there are minor,but significant, differences between the main branches.