Change the wrong commit message in Git
This question already has an answer here:
失去第一个-a
你没有添加任何文件,你只是改变HEAD提交:
git commit --amend -m"New Commit Message"
链接地址: http://www.djcxy.com/p/1402.html
上一篇: 如何更改旧(本地)提交的消息?
下一篇: 在Git中更改错误的提交消息