Hacker News new | ask | show | jobs
by tom9729 3734 days ago
Or just write down the latest commit (or use git reflog to find it post facto) and if you mess up, do "git reset --hard <commit>" to get back to it.