Have you ever made a message with like this? commit git commit git commit -m "Fixed CSS" Only to remember the hundreds of articles you've read on writing "real" commit messages and to immediately regret your decision? If you've ever done this, you can undo your commit, but an easier way to update your git message is with : --amend git commit --amend -m "feat-new-ui: Updated margins by 0.25rem" Now, you can easily update your commit messages by simply adding to your git command. --amend Other Uses for git commit --amend Not only can be used to make changes to a git message, but we can also use it to add files to an already committed change. For example, let's say you forgot to add the file to your commit but you want it all to exist on the same commit. git commit --amend style.css All you have to do is use to add the file as you normally would like so and use to add the file to your existing . Simple! git add git commit --amend --no-edit git commit git add style.css git commit --amend --no-edit Now, your already made commit will have the file included, and the message for that commit will remain the same. style.css