Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just make sure everything is checked in and drop a tag on a known-good commit before any risky operations. You can easily recover to that tag with git reset.

There's also the reflog. The github interface probably has a friendly representation of it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: