I have a feature branch that has been merged several times with the development branch over the past few weeks. Before merging it into a master branch, we want to remove the code of the function branch that has been merged into the development branch over the past few weeks. Is there a single way to do this?
Merges were created with -no-ff, so commits in the new branch must have their own objects.
_______ master ______________________________ \ / \ / \__hofix-1_____C/ \ _ development _______________________\____________ \ / / / \ / / / \_feature-test__A/_________B/________D/
So, I want to remove the combined commits A, B, and D from development, while preserving fix-1, merging C, and continue to work on the function branch.
source share