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 <[email protected]> 1705891256 -0700
committer ThePrimeagen <[email protected]> 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.
/tmp/blobfile.txt.Run and submit the CLI tests.