Published on

tidy up your git commits: amending, interactive rebasing and squashing commits


Either you've read about cleaning up git commits a million times, or not at all. I heard about it but never really gave it a shot before but after "the git-father" @chielkunkels showed me how easy it is to rewrite your history, everyone should at least give git commit --amend and git rebase -i a try.

The specifics of these commands have been explained pretty well in the following blogposts, so I'll happily refer to them if you want to join the club of clean committers!