My branch's history is as follows :
Now I want to revert merge with branch 558. I have it's sha code, so I'm doing :
git revert -m 1 1784adf300f43fb76391e92f80be01132eddb680
and the result is :
[master d51e2b3] Revert "Merge branch '558'"
1 files changed, 15 insertions(+), 29 deletions(-)
At this point when I try to push my revert back to origin, I see that only the last commit from merged 558
branch was reverted (as well as in the merge more than 1 file was affected). How can I revert all commits from the merged branch or am I doing something else wrong here.