Quick Note
GitCLITILUpdated March 7, 2026

Git: Amend Without Editing Message

Quick tip for amending the last commit without changing the commit message.

1 min read

To add changes to the last commit without editing the message:

Bash
git commit --amend --no-edit

Useful when you forgot to add a file or made a quick fix.

Found this note helpful? Show some love!

20 views

Comments