OK, so I'm getting an error sometimes when I try to revert a commit (with Git). All that I do is
git revert <commit hash>
and it gives me this message:
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>'
Does this mean that I should use git mergetool
and resolve any conflicts? Once I do this can I add/rm and then commit, and the revert is complete?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…