git commit --amend -m "your new message"
其他情况参考:https://stackoverflow.com/questions/179123/how-to-modify-existing-unpushed-commits