News for hackers. Stuff that matters.
Re:Oh Shit, Git? by AlexCoventry on Sunday August 16, 2020 @01:25AM (#24175418)
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.

There are no comments on this comment yet.