如果是最后一次提交,并没有push
git commit --amend -m "your new message"
其他情况参考:https://stackoverflow.com/questions/179123/how-to-modify-existing-unpushed-commits
git commit --amend -m "your new message"
其他情况参考:https://stackoverflow.com/questions/179123/how-to-modify-existing-unpushed-commits