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
No active XP Potion
Accept a Quest
Login to submit answers
So far we've been using Git in a "porcelain" manner. But to sate our insatiable curiosity, let's take a look at some of the "plumbing".
All the data in a Git repository is stored directly in the (hidden) .git
directory. That includes all the commits, branches, tags, and other objects we'll learn about later.
Git is made up of objects that are stored in the .git/objects
directory. A commit is just a type of object.
git log -n 10
to find your commit hash again.ls -al
to list the contents of the .git/objects
directory.ls -al
to list the contents of that directory and answer the question.Which of these most closely matches the format of the path to the file?