Skip to content

Glossary: Git Beyond the Basics

HEAD@{n}

Also written: HEAD@{1}, main@{1}

A reflog name meaning where HEAD (or a named branch) was n moves ago. The numbers shift with every move, so check with `git reflog`.

Where the book teaches it

Related terms

reflogrev-parse