Editing Old Commit Messages

In this episode, we will edit the commit message of an old commit.

Transcript
Editing Old Commit Messages

In this episode, we will edit the commit message of an old commit. You might remember that, in an earlier episode, we changed the message of the very last commit. That’s very easy to do using the “amend” feature in Git.

However, this only works for the very last commit. For anything older than that we have to use “Interactive Rebase”.

So let’s look at our example scenario. And let’s say we’d like to change the message of this “Optimize markup” commit here.

In Tower, we can simply right-click the commit… and then select “Edit Commit Message” from the menu. I can then simply make my changes and save it.

And that’s already it! Very easy!