blob

The Git object that holds the contents of one file, with no file name attached.

In more detail

The name of the file is stored in the tree that points at the blob, not in the blob itself. So two files with identical content, whatever their names, share one blob and one ID.

Example

git cat-file -p HEAD:notes.txt

Related terms

Taught in

References