好的,所以当我尝试撤销一个提交时(使用Git),有时会出现错误。我所做的一切都是
git revert <commit hash>
这会给我一个消息:
error: could not revert <commit hash> <commit message>
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
这是否意味着我应该使用 git mergetool
并解决任何冲突?一旦我这样做了,我可以添加/删除然后提交,撤消就完成了吗?