Programming
How to Undo the Last Git Commit (and Recover From It)
amend, reset --soft, --mixed, --hard, revert and restore each undo something different. A tested walk-through, plus how the reflog recovers from a bad reset.
Topic
amend, reset --soft, --mixed, --hard, revert and restore each undo something different. A tested walk-through, plus how the reflog recovers from a bad reset.