X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Ftutorial-2.txt;h=60e54777dc6cef259a045512f42a50527f430fb9;hb=cc06c870685865decc7948cdb2d7e9b52ac8ee32;hp=aa62e13de9c961b3c98da846515cc60b58256af9;hpb=ef0a89a604acb7fc2e3c08566641b95b23d87fd6;p=git.git diff --git a/Documentation/tutorial-2.txt b/Documentation/tutorial-2.txt index aa62e13de..60e54777d 100644 --- a/Documentation/tutorial-2.txt +++ b/Documentation/tutorial-2.txt @@ -353,23 +353,23 @@ situation: ------------------------------------------------ $ git status # -# Updated but not checked in: +# Added but not yet committed: # (will commit) # # new file: closing.txt # # -# Changed but not updated: -# (use git-update-index to mark for commit) +# Changed but not added: +# (use "git add file1 file2" to include for commit) # # modified: file.txt # ------------------------------------------------ Since the current state of closing.txt is cached in the index file, -it is listed as "updated but not checked in". Since file.txt has +it is listed as "added but not yet committed". Since file.txt has changes in the working directory that aren't reflected in the index, -it is marked "changed but not updated". At this point, running "git +it is marked "changed but not added". At this point, running "git commit" would create a commit that added closing.txt (with its new contents), but that didn't modify file.txt.