Command | New files | Changed files | Deleted files |
snap no: 1 | |||
snap no: 2 | foo/one.txt | ||
snap no: 3 | foo/two.txt | ||
snap no: 4 | bar/three.txt | ||
snap no: 5 | baz/four.txt | ||
snap no: 6 | .git/HEAD .git/config .git/description .git/info/exclude .git/hooks/pre-rebase.sample .git/hooks/pre-push.sample .git/hooks/applypatch-msg.sample .git/hooks/pre-commit.sample .git/hooks/post-update.sample .git/hooks/commit-msg.sample .git/hooks/pre-applypatch.sample .git/hooks/update.sample .git/hooks/prepare-commit-msg.sample | ||
Tell git to take a snapshot of the contents of all files under the working directory:
snap no: 7 | .git/index .git/objects/2b/df67abb163a4ffb2d7f3f0880c9fe5068ce782 [blob].git/objects/56/26abf0f72e58d7a153368ba57db4c673c0e171 [blob].git/objects/85/10665149157c2bc901848c3e0b746954e9cbd9 [blob].git/objects/f7/19efd430d52bcfc8566a43b2eb655688d38871 [blob] | ||
The snapshot is now stored in a temporary staging area which Git calls the index. | |||
Permanently store the »first version« of the project in Git:
snap no: 8 | .git/COMMIT_EDITMSG .git/logs/HEAD .git/logs/refs/heads/master .git/objects/76/6dcde8101044617e7803ff171d532cae2a4882 [tree].git/objects/96/a476ff69dc1592e0c0d374a58984f5c439cc1a [commit].git/objects/e4/1062041cef727ef49162b892368e2dbd2e96d6 [tree].git/objects/ef/a4c546776cd5539cb54969a5e1c110b3232ee2 [tree].git/objects/f2/e2823f5849ba8681df07b0a00116cf10e594f6 [tree].git/refs/heads/master |