re: Up your Git game and clean up your history VIEW POST


Thanks for the post, very good practical examples to try rebasing.

I'm just curious how did you achieve this lonely commit? 😀
lonely commit

Example 3: rewording a commit

I think interactive rebase in this example is overkill.

git commit -- amend -m "new message" will do the work.
But changing a message for commit head~2 is impossible with amend, so interactive rebase with reword will solve such tasks perfectly.


With pleasure, super glad it helped.

This last commit is just an automatic commit made to deploy to Github Pages

github pages

A whole different thing, so don't worry about it !

Thanks for mentioning amend 😄

Code of Conduct Report abuse