oh-my-git/levels/bottom-up/tree-create/description

8 lines
236 B
Plaintext

After carefully building the index we want, it would be nice to save a permanent snapshot of it, right?
This is what the second type of objects is for: trees! You can convert the index into a tree using
git write-tree
Try it! :)