Git - Hash (Message Digest / Hash Object)


git uses as identifier a message digest

The hash is known as hash object because the whole git file system is based on objects

The function is available via the hash-object command

echo 'test content' | git hash-object -w --stdin

This hash is unique key that would be used to store it in the database

Powered by ComboStrap