Git 1,932 almost never destroys a commit. Deleting a branch, resetting it or rebasing it only moves or removes a name; the objects stay in the repository for weeks, and Git keeps a diary of where every name pointed. This section uses that diary to undo the classic accidents on BookNest, one by one.
MENU
Reflog and Recovery
Reflog and Recovering Lost Work