We have this git log:
D:\blah>git log -n 5 --oneline
fc19dec My change #2
68fa9db Merge branch
4bc1ac7 My change #1
ec345d9 [maven-release-plugin] prepare for next development iteration
I'd like to revert to ec345d9 but am getting an error:
D:\blah>git revert --no-commit ec345d9..HEAD
error: a cherry-pick or revert is already in progress
hint: try "git cherry-pick (--continue | --quit | --abort)"
fatal: revert failed
How can I do this revert?
I am aware of the issue with reverting a merge and needing to specify the -m option. When I've used that in the past I am just reverting the one single merge commit. But in this case the merge commit is sandwiched between two other commits I'm trying to revert.