Skip to content

Glossary: Git Beyond the Basics

HEAD~N

Also written: HEAD~1, HEAD~3

The commit N steps before HEAD on the same line of history. Unlike a hash, it is the same for every reader.

Where the book teaches it

Related terms

hashHEAD