🔀 The Amend That Overwrote a Commit You Actually Wanted to Keep `git commit –amend` is meant to fix the most recent commit – a typo in the message, a forgotten file – but running it at the wrong moment (after switching what’s staged, or simply out of habit) replaces that commit’s content entirely, and […]