AI engineering glossary · Command line Git

What is SHA (commit hash)?

Commit hash (also called SHA, Commit SHA): A 40-character hexadecimal identifier computed from a commit's contents and metadata that uniquely names it. Any change to the commit produces a different one. Git accepts short prefixes, usually seven characters, to refer to them.

Level: intermediateTopic: Command line Git

Commit hash: an example

git show a1b2c3d displays the commit whose hash starts with a1b2c3d.

Related terms

More Command line Git terms

Where you learn it

Commit hash is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.