Sometimes we need to add a small fix to a commit we made some while ago.
In order to keep the commit history clean we can squash our commits using git rebase -i <parent_commit>.
If we use --fixup when commiting the fix later on when we rebase the commit will be reordered to the correct position and squashed
read more.
git commit --fixup c8cf4f
git rebase -i --autoshquash