
Git from the Bottom Up – Blobs and Trees
Coding Blocks
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.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.