1. 首先通过git commit --amend这个命令打开最近一次提交的信息,第一行就是你的注释,通过vim编辑器进行编辑,编辑之后保存就可以了。
  2. 通过git push --force sunxiaoning sunxiaoning强行推送到你的代码库。
Last modification:June 4, 2019
If you think my article is useful to you, please feel free to appreciate