Use Amend When
You just made the last commit and want to fix a message or include a forgotten file.
The commit has not been shared yet and rewriting it will not surprise anyone else.
When to revise the last commit and when to add another commit instead.
Amend rewrites the most recent commit. A new commit preserves the previous one and adds another step to history. The main question is whether history rewriting is still safe.
You just made the last commit and want to fix a message or include a forgotten file.
The commit has not been shared yet and rewriting it will not surprise anyone else.
The original commit is already pushed or part of shared history.
You want an explicit follow-up change rather than hiding the correction inside the previous commit.
Amend before sharing. Add a new commit after sharing.