所以我正在和其他人一起做一个项目,有多个github分叉正在进行中。有人刚刚修复了一个问题,我就和他的叉子合并了,但后来我意识到我可以找到更好的解决方案。我想要恢复我刚刚做的提交。我尝试用git revert HEAD
这样做,但它给了我这个错误:
fatal: Commit <SHA1> is a merge but no -m option was given.
What does that mean? When I merged and committed, I did use the -m option to say "Merged with <username>".
What am I doing wrong here?