

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Different Hashes
incomplete
2: The Plumbing
incomplete
3: The Object File
incomplete
4: Cat File
incomplete
5: Trees and Blobs
incomplete
6: Second Commit
incomplete
7: Storing Data
incomplete
This lesson's interactive features are locked, please to keep using them
Now that we understand some of our plumbing equipment, let's get into the pipes. Here are some terms to know:
tree: git's way of storing a directoryblob: git's way of storing a fileHere's what I got when I inspected my last commit:
> git cat-file -p 5ba786fcc93e8092831c01e71444b9baa2228a4f
tree 4e507fdc6d9044ccd8a4a3061324c9f711c4667d
author ThePrimeagen <the.primeagen@aol.com> 1705891256 -0700
committer ThePrimeagen <the.primeagen@aol.com> 1705891256 -0700
A: add contents.md
Notice that we can see:
tree objectauthorcommitterHowever, we cannot see the contents of the contents.md file itself! That's because the blob object stores it.
Run and submit the CLI tests.