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

8 lines
236 B
Text
Raw Permalink Normal View History

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