Suggestion: Amend the last commit without changing its commit message
Hi,
I have a suggestion to add in your slide git commit --amend
.
In case you are not aware of it, there is a way to amend the last commit while keeping the commit message unchanged, like so:
git commit --amend -C HEAD
It simply reuses the commit message of the last commit, ie. the one we are changing.
This prevents the useless step where we enter the editor and save the commit message file unchanged.
Hope this helps.