Command | New files | Changed files | Deleted files |
snap no: 1 | |||
First, Alice creates two files: foo-bar-baz.txt and …
snap no: 2 | |||
… one-two-three.txt.
snap no: 3 | |||
She adds both files to the index:
snap no: 4 | .git/index .git/objects/54/d55bf0bb50b503792f391b6f0158bd6145073e [blob].git/objects/98/a86f9e2ca687af0fd5822345534ccf0baad8fa [blob] | ||
She also creates a third file …
… that is not added to the index. snap no: 5 | |||
Alice creates a tree object from the files on the index.
snap no: 6 | .git/objects/58/2a0898b5598958f3234e058338eb349e12fa39 [tree] |