Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AlexCoventry
on Aug 16, 2020
|
parent
|
context
|
favorite
| on:
Oh Shit, Git?
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:
There's also the reflog. The github interface probably has a friendly representation of it.