oh-my-git/levels/tree-nested/description
2020-09-15 16:32:00 +02:00

5 lines
384 B
Text

Trees can also point to other trees! This way, they can basically describe nested directory structures.
When you add a file inside of a directory to the index, and then call `git write-tree`, it will automatically do the correct thing.
To solve this level, build a little stick figure, as shown on the left - a tree that points to two blobs, and to a tree that points to two blobs.