Tell me if you recognize this scenario: you’re in the middle of rewriting your local commits when you suddenly realize that you have gone too far and, after one too many rebases, you are left with a history that looks nothing like the way you wanted. No? Well, I certainly do. And when that happens, I wish I could just CTRL+Z my way back to where I started. Of course, it’s never that simple — not e
![Git Undo](https://cdn-ak-scissors.b.st-hatena.com/image/square/96ec7d70ede2719b9db21f662ad9576be609d14d/height=288;version=1;width=512/https%3A%2F%2Fmegakemp.com%2Fassets%2Fgit-undo%2Fgit-logo.png)