Glossary term
What is reflog? Meaning for developers
In Full-Stack Questions
Git's private log of where your branches and HEAD pointed, used to recover lost commits.
Learn it properly · Full-Stack QuestionsLesson 24: Git, Team Workflow and MonoreposMerge vs rebase, undoing mistakes, reflog, bisect, branching models, code review, pnpm workspaces, Turborepo, changesets and versioning.In Git & GitHub
A private log of where HEAD and branches have been. It can recover commits that look lost.
Learn it properly · Git & GitHubLesson 4: Undoing Things Safely: Restore, Reset, Revert, Reflog and FriendsThe undo tools run for real, recovering a lost commit with reflog, bisect, and a table of which command to use.