What does the tree line refer to?
$ git cat-file -p HEAD tree 211af7d72d84cb51d5e8e520961990f17fe26003 parent 4da65571a540c0ba767842862ac0a6d2ab85c811 author t <t@x> 1791735347 +0300 Add login
- The root directory snapshot
- The previous commit in history
- The diff introduced by this commit
- The branch this commit belongs to
A commit stores a full snapshot via its root tree object, not a diff. The
Play Git ▸
parent line links to the previous commit.