Command | New files | Changed files | Deleted files |
snap no: 1 | |||
snap no: 2 | |||
git hash-object with -w takes a file, computes the object id, and stores it in the .git directory
snap no: 3 | .git/objects/93/63c4e4606084a3c1fca83a3c535f65582ac834 [blob] | ||
Use git cat-file -p to show the content of an object
snap no: 4 | |||
snap no: 5 | |||
snap no: 6 | .git/objects/8d/b444301e5246a004784c9c7f39ab89725c3d2b [blob] | ||
snap no: 7 | |||
cat-file with -t shows the object type rather than the object's content
snap no: 8 |