I have the following git Branches
- Feature Branch
- Production Branch
I merged my Feature Branch with the Production branch and after this merge, there were some issues on Production hence I used the GitHub Revert feature and created Revert-Feature-Branch
which was then Merged with Production.
Now, I have fixed the bugs in my Feature Branch
and I am trying to merge that Branch with Production
but I am not getting all the changes that were done by me, I am getting only the changes done for the fixes. (which is acceptable since the commits are already merged with the Production Branch.)
is there a way to get my original code from the Feature Branch
to merge into the Production
branch as a new commit without Resetting the Production Branch?
Thank you for the help.
Note, I have already done some research and read the following answer: How to revert a merge commit that's already pushed to remote branch?
which did not help.