X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Ftutorial-2.txt;h=af8d43bd12624ad8c539ac2dcd0c3c314e0bbff8;hb=50cfde14531a5b354bbc3a070fe39c1ee86e2915;hp=8d899927124104d2b472f1ce63f97346a84e2d2c;hpb=c230390b4773b9e4469085283033da9e910e50a6;p=git.git diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt index 8d8999271..af8d43bd1 100644 --- a/Documentation/tutorial-2.txt +++ b/Documentation/tutorial-2.txt @@ -227,7 +227,7 @@ $ git diff @@ -1 +1,2 @@ hello world! +hello world, again -$ git update-index file.txt +$ git add file.txt $ git diff ------------------------------------------------ @@ -260,7 +260,7 @@ hello world! hello world, again ------------------------------------------------ -So what our "git update-index" did was store a new blob and then put +So what our "git add" did was store a new blob and then put a reference to it in the index file. If we modify the file again, we'll see that the new modifications are reflected in the "git-diff" output: