Two fun things about git: It is deterministic, and it doesn't delete anything (readily).
This means you can't really have a catastrophe.
Just git reflog your way out.
This means you can't really have a catastrophe.
Just git reflog your way out.
I notice they are from the same publisher.
Otherwise it's still in reflog. Anything you ever commited is just there.
My bad. I shouldn't have used the word cherrypick there.
On a completely unrelated topic, extundelete is a great piece of software.
The problem is when you realise someone badly rebased, or forced a push, a while ago and now you have to try to find where the stuff was lost.