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

6 lines
238 B
Text
Raw Normal View History

2020-09-15 22:35:14 +02:00
As soon as you have some tree objects, you can always read them and set the index exactly to their content! Unsurprisingly, the command is called
git read-tree <tree>
2020-09-15 22:35:14 +02:00
Try reading some of the trees in this repository into the index!