Problem Statement
You accidentally finished a destructive rebase. How do you recover your previous branch state?
Explanation
Use `git reflog` to find the pre-rebase HEAD (e.g., `HEAD@{1}`) and `git reset --hard <that-id>` or create a rescue branch from it. Reflog records past HEAD positions.
Practice Sets
This question appears in the following practice sets:
