📅  最后修改于: 2022-03-11 14:56:44.954000             🧑  作者: Mango
$ git commit -m "Something terribly misguided" # (1)
$ git reset HEAD~ # (2)
<< edit files as necessary >> # (3)
$ git add ... # (4)
$ git commit -c ORIG_HEAD # (5)