↓ Skip to main content

“When they make a mistake, many would rather delete and re-clone the repository than try to fix it.”

Waleed Khanblog.waleedkhan.name ↗

Git almost never loses your data. It just hides the way back behind a different incantation for every command. git undo records every branch move through a new hook and replays the graph to any point in time. The catch is that you have to install it before you need it, which is exactly when nobody does.