4 ms·
Came here for this. git undo won't restore the changes wiped out by reset --hard? They aren't stored on the reflog?
by sleepychu 10y ago
Came here for this. git undo won't restore the changes wiped out by reset --hard? They aren't stored on the reflog?
- panic 10y agoIf it hasn't been committed, it won't be in the reflog. Working copies and stashed changes are especially vulnerable to being overwritten by accident. It would be great if git had a way to undo these operations too.