Using the Reflog to Recover Lost Work — Roadmap Step & Resources
Git's local safety net for finding commits that seem to have disappeared
- Level: intermediate
- Estimated time: 1 days
- Roadmap: Git & GitHub Fundamentals
Before this step
Interview questions
- A teammate 'lost' commits after a hard reset — how would you help them recover the work?
Study resources
- git-reflog Documentation (Article) — The official Git documentation for the reflog, Git's local safety net.
- Recovering Lost Commits with Reflog Explained (Video) — A practical tutorial on finding and recovering commits that seem to have disappeared.
Part of
- Undoing Changes & History Management — section
- Git & GitHub Fundamentals roadmap — the full learning path