

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
Luckily, Git has a built-in plumbing command, cat-file, that allows us to see the contents of a commit without needing to futz around with the object files directly.
git cat-file -p <hash>
catfile-command-here > /tmp/catfileout.txt
Run and submit the CLI tests.
Use git log -1 to get the hash of your last commit.