4 ms·
Going to blame sleep deprivation for that one. Took your comment to realize reflog wouldn't help. To give a recent example, I was fixing a cryptographic functi
by AlotOfReading 3y ago
Going to blame sleep deprivation for that one. Took your comment to realize reflog wouldn't help.
To give a recent example, I was fixing a cryptographic function and had a bunch of constraints in my head. Dumped that into comments and didn't read them carefully enough the next morning. Immediately wrote a change that subtly broke one of those constraints. Having a restore point was helpful. Similarly, I can also say "this experiment I've been pursuing for a couple days went off-track, let's reset and take advantage of hindsight".
It's not something I use frequently, but it's convenient and free.