Never understood why this is such a trope. There’s very little you can’t recover in git (basically, only changes you never committed in the first place).
Not sure if serious or not, but yeah I use interactive rebases every day, many times a day (it’s nice for keeping a clean, logical history of atomic changes).
It’s very simple to recover if you accidentally do something you don’t intend (git rebase --abort if the rebase is still active, git reflog to find the commit before the rebase if it’s finished).
If you’ve ever royally fucked something up in git, that hotline is necessary
How dare you! First of all, it’s a beautiful distributed graph theory tree model…
I have been that friend from the alt text at every place I have worked. I shudder to think how they’re going about their projects without me, now.
Never understood why this is such a trope. There’s very little you can’t recover in git (basically, only changes you never committed in the first place).
Have you ever tried a rebase?
Not sure if serious or not, but yeah I use interactive rebases every day, many times a day (it’s nice for keeping a clean, logical history of atomic changes).
It’s very simple to recover if you accidentally do something you don’t intend (
git rebase --abort
if the rebase is still active,git reflog
to find the commit before the rebase if it’s finished).