Index

Module 11 · From ScratchGit

Git 02: The Tree

What Git Actually Ships
What Git Actually Ships · Open board

The nearest board the site has: git’s diff machinery, which compares two versions of a file. Every comparison it draws starts from the thing this stage builds, a version stored as a tree of fingerprints.

Before you start. Git 01: The Blob built the blob: a file’s bytes, named by the hash of a header plus those bytes, stored zlib-compressed under .git/objects. A blob has no file name and no folder. This stage supplies both. You need no new idea, only the one from last time: an object’s name is a fingerprint of its contents.

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.