learnGitBranching icon indicating copy to clipboard operation
learnGitBranching copied to clipboard

reverting a merge commit using revert -m

Open jnarboux opened this issue 1 year ago • 1 comments

Hi,

Thanks a lot for your tool which is excellent. I wanted to add an exercise about how to undo a faulty merge, following: https://www.kernel.org/pub/software/scm/git/docs/howto/revert-a-faulty-merge.txt

It seems that when trying to revert a merge commit, the tool accepts it, whereas git asks for something like: git revert -m 1 Cx

Did I miss something ?

jnarboux avatar Nov 25 '24 13:11 jnarboux

I wouldn't be surprised if we have a bug/mismatched git engine behavior with something like that :)

pcottle avatar Nov 25 '24 14:11 pcottle