Skip to content

Glossary: Command Line and Git

hash

Also written: commit hash, commit ID

A commit's unique ID, a 40-character code calculated from its contents, such as `b2c81a6` when shortened. The first seven characters are enough to name a commit.

Where the book teaches it

Related terms

commit