I was hoping to get some ideas. I have three branches:
- master
- specific
- feature-branch
master
contains the generic code base so that if I want to branch out later to create a new type of implementation, I can easily do so. But for now specific
is my main development branch.
So I branched specific
off into feature-branch
to test a new feature, once I was satisfied I merged feature-branch
back into specific
.
But there are some commits which are implementation specific in specific
which I don't want to merge back into master. Most of the code is generic changes, which I do want to merge back.
I merged about 30 changes from feature-branch
into specific
. Of those 30, probably about 20 I want to merge from specific
into master
.
What is the best way for me to do this?
Should I just cherry pick each of the commits I want to merge into master
? If so, should I just go in reverse chronological order (ie. get the oldest commit I want to merge in, then the second oldest, and so on - cherry picking them all back into master
).
Any ideas are welcome. Thanks