Live data from Hacker News

Recovering commit after Git reset --hard

blog.shanky.xyz

1–8 of 8 posts

Re: Recovering commit after Git reset --hard

#5

tl;dr git caches your state after every command, use git reflog to try it. Why is this front page with 3 votes? This is weird and I’ve flagged it.

From the HN guidelines:

Please don't complain that a submission is inappropriate. If a story is spam or off-topic, flag it. […] If you flag something, please don't also comment that you did.

Re: Recovering commit after Git reset --hard

#7
post #5

tl;dr git caches your state after every command, use git reflog to try it. Why is this front page with 3 votes? This is weird and I’ve flagged it.

From the HN guidelines: Please don't complain that a submission is inappropriate. If a story is spam or off-topic, flag it. […] If you flag something, please don't also comment that you did.

To clarify, I was asking in case I missed something, not complaining in a passive-aggressive way.