mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +01:00
7 lines
238 B
Text
7 lines
238 B
Text
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! :)
|