Skip to content

Glossary: Command Line and Git

reflog

Also written: git reflog

Git's list of every commit `HEAD` has recently pointed to, including ones no branch shows any more. It can rescue commits that seem lost.

Where the book teaches it

Related terms

HEADgit reset --hardgit commit --amend