How to amend a commit message in git?
This question already has an answer here:
It seems you assume -a is the same as --amend , which is not the case.
You almost had the right command which simply is git commit --amend -m 'does work' .
上一篇: 我如何推送不改变代码的Git提交
下一篇: 如何在git中修改提交消息?
