We use branches for features which we then merge into master
. We also use branches for versions. However, I have a particular feature (merged into master
) that needs to go into the version branch. Previously, I had been using cherry-pick
for this (manually plucking commits one at a time), but this feature has too many commits to do one at a time. Is there a better way?
This feature has already been merged into master
. The branch does not exist locally anymore. However, I do have the commit which resulted from merging it into master
.
I am able to restore feature-branch
(since we use GitHub). However, from the version branch, when I run git merge feature-branch
, I get all sorts of conflicts unrelated to the feature. Same thing happens if I do git rebase feature-branch
(from the version-branch
).