git commit --amend
操作: ctrl + o:保存 enter:确认 ctrl + x:退出
如果已经push到远程分支,再次push到同一个修改点会提醒重新git pull git push --force-with-lease origin xxx 强制推送