Coding Blocks cover image

Git from the Bottom Up – Blobs and Trees

Coding Blocks

00:00

Xdiss - Get Right Dash Tree Alm Command

Get right dash tree takes the contents of your index and writes it to a tree, which is a new hash. A tree that has the same blobs in it and the same sub trees will also have the same hash because they use the same hashing agrithm. git commit tree then makes a commit that holds that tree,. So now you've kind of gone the full circle on these things, right? And so just to kind of sum it up again, so what we did as we created a file, we did it get at. It created the blob for the file contents, if it did not exist, and then it created that entry in the index.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app