error: Commit X is a merge but no -m option was given. fatal: revert Failed
有没有办法做到这一点,还是我必须使用终端?正在阅读它,但无法找到这个具体案例的解决方案.
做就是了:
git revert -m 1 [copy-paste-the-id-of-the-merge-commit-here]
如有必要,编辑冲突并提交.
编辑:是的,如果你要撤消合并提交,SourceTree应该传递-m 1参数.