Yes, the git commit --amend --no-edit is the thing that I am looking for. git add . (Add the added and modified files); git commit --amend ... ... <看更多>
commit --amend is used to modify the most recent commit . It combines changes in the staging environment with the latest commit , and creates a ... ... <看更多>
Using a Git commit is like using anchors and other protection when climbing. ... git commit --amend -m "Implement awesome feature; closes #43" git push. ... <看更多>
The git commit --amend command is a convenient way to fix up the most recent commit. It lets us combine staged changes with the previous commit instead of ... ... <看更多>
It's easy to fix just the message for the last commit: $ git commit --amend -m "New commit message". Or leave off the -m "New commit message" and type the ... ... <看更多>