2

What kind of properties make up the hashes in Git? I realize that it may differ depending on the object type (commit, tree, etc.).

For example, how is the commit hash made? Does it involve the commit message perhaps and the changes?

1 Answer 1

3

From Pro Git:

The output from the command is a 40-character checksum hash. This is the SHA-1 hash — a checksum of the content you’re storing plus a header

There's more detail in that chapter.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.