X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Ftutorial-2.txt;h=894ca5e06f26002f7dc5f2a16b713ca13e45886e;hb=bf78b1d89b29f8524ccfbd7042fa277277e316ff;hp=9c9500c1f1f618eeac284f679a5bc1efd8a1b7b7;hpb=481176f752f204316ec570c8ab3fdf0c297b3259;p=git.git diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt index 9c9500c1..894ca5e0 100644 --- a/Documentation/tutorial-2.txt +++ b/Documentation/tutorial-2.txt @@ -49,7 +49,7 @@ tree A tree can refer to one or more "blob" objects, each corresponding to a file. In addition, a tree can also refer to other tree objects, -thus creating a directory heirarchy. You can examine the contents of +thus creating a directory hierarchy. You can examine the contents of any tree using ls-tree (remember that a long enough initial portion of the SHA1 will also work): @@ -136,7 +136,7 @@ The "tree" object here refers to the new state of the tree: ------------------------------------------------ $ git ls-tree d0492b36 100644 blob a0423896973644771497bdc03eb99d5281615b51 file.txt -$ git cat-file commit a0423896 +$ git cat-file blob a0423896 hello world! ------------------------------------------------