Let's say we have a git repo with a master-dev branch. When developers complete their features, each feature branch in merged into the master-dev. One day, A large feature is merged into master-dev with several significant issues that are not discovered until a release branch is created. To move forward, we need to remove this feature from the master-dev and recreate the release. The issues in the feature are to be addressed after the release. What is the strategy for removing this feature?
Edit
It this scenario, after the feature branch was merged and a few problems found, several updates were applied to the feature, which were then merged back into master before the decision was made to remove the feature from the release. Those additional merges happened after other features were merged into the master-dev.
The branch history is too complicated for a simple revert command.
EDIT
If the community does not see this as a good question, I see no point in posting details about the solution that we found and used.
If I'm understanding correctly, you would want to simply revert that commit from the branch and then create a new release.
On the command line, this would look like:
git checkout master-devgit log- make note of the most recent commit shagit revert <sha>git pushAt that point you can move forward with releasing and then you can bring that commit back into your main branch at a later time.