re: and the second top voted question on StackOverflow is... VIEW POST

FULL DISCUSSION
 

Two (better) options IMO:

'git commit --amend' to fix the message

'git revert' to undo a commit change set

Why do I think these are better? No rewriting of the history! No need to understand HEAD, graph theory, or the other abstractions. And they maintain the forward only design paradigm of git.

code of conduct - report abuse