Hacker News new | ask | show | jobs
by wool_gather 2041 days ago
Tip, instead of amending, it's also straightforward to "uncommit" a temporary commit when you come back to it. `git reset HEAD~` and the state of the commit becomes the state of your working tree instead.