It’s surprising how little we know about Git as we continue to dive into Git from the Bottom Up, while Michael confuses himself, Joe has low standards, and Allen tells a joke.
The full show notes for this episode are available at https://www.codingblocks.net/episode191.
Thanks for all the great feedback on the last episode and for sticking with us!
abc.txt
and another was named passwords.bin
in separate directories, they’d point to the same blob.This is worth following along and trying out.
git hash-object filename.
git cat-file -t hashID
will show you the Git type of the object, which should be blob.git cat-file blob hashID
will show you the contents of the file.git ls-tree HEAD
will show the tree of the latest commit in the current directory.git rev-parse HEAD
decodes the HEAD
into the commit ID it references.git cat-file -t HEAD
verifies the type for the alias HEAD
(should be commit).git cat-file commit HEAD
will show metadata about the commit including the hash ID of the tree, as well as author info, commit message, etc.find .git/objects -type f
and you’ll see the same IDs that were shown in the output from the previous Git commands.Stuff You Should Know
If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.
24/7 News: The Latest
The latest news in 4 minutes updated every hour, every day.
Crime Junkie
Does hearing about a true crime case always leave you scouring the internet for the truth behind the story? Dive into your next mystery with Crime Junkie. Every Monday, join your host Ashley Flowers as she unravels all the details of infamous and underreported true crime cases with her best friend Brit Prawat. From cold cases to missing persons and heroes in our community who seek justice, Crime Junkie is your destination for theories and stories you won’t hear anywhere else. Whether you're a seasoned true crime enthusiast or new to the genre, you'll find yourself on the edge of your seat awaiting a new episode every Monday. If you can never get enough true crime... Congratulations, you’ve found your people. Follow to join a community of Crime Junkies! Crime Junkie is presented by audiochuck Media Company.