How Git keeps every version of your project without filling your disk
Git reflog: what happens to the commits you undo
Undo one step too many in Git, and days of commits drop out of your history. Are they gone? What the reflog keeps, and why committed work is so hard to lose.
-
1
On your own branch, river-work, you meant to undo only the last commit with
git reset, and you went back two. Your history no longer shows "Bigger river" or "Wider river". -
2
Is that work gone for good?
The rest of this episode is for subscribers
Subscribe to read every premium episode. You can cancel when you want.
Paid yearly: $99 instead of $119.88