I am trying to revert to a certain 'hash' number in git, by using the 'revert' command.
I am using the following command:
git revert c14609d74eec3ccebafc73fa875ec58445471765
But, I am getting the following returned:
error: Commit c14609d74eec3ccebafc73fa875ec58445471765 is a merge but no -m option was given.
fatal: revert failed
As a new git user, please can you explain what is happening & what I have to do to resolve this.
I want to revert back to this certain commit (c14609d74eec3ccebafc73fa875ec58445471765
) that I see when running git log
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…