git 修改未提交的信息

git commit --amend -m "new message"
原文地址:https://www.cnblogs.com/lbx6935/p/15090199.html