Index

Module 11 · From ScratchGit

Git 01: The Blob

Hashing
Hashing · Open board

The hash function at work: any input in, a fixed-size number out, the same number every time. Git’s whole object database is that board used as a filing system, with the number as the file’s name.

Before you start. Build Your Own Git set out the build: git stores a version of your project as objects named by the hash of their contents. This stage builds the smallest object, the blob, which holds the bytes of one file. A hash, as Hashing draws it, is a fingerprint: the same bytes always give the same fingerprint.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review From Scratch →

Saved in this browser, and to your account when you sign in.