修改提交
您可以通过运行 git commit --amend 命令修改同一分支中的最新提交。这个命令可以方便地将新的或更新的文件添加到上一次提交中。这也是一种编辑提交消息或将提交消息添加到上一次提交的简便方法。

Issue tracking software guide
The SMB guide to growing with confidence using Nulab Pass
Version control software guide
Project and code management together.
您可以通过运行 git commit --amend 命令修改同一分支中的最新提交。这个命令可以方便地将新的或更新的文件添加到上一次提交中。这也是一种编辑提交消息或将提交消息添加到上一次提交的简便方法。
Learn with Nulab to bring your best ideas to life