Skip to content

Commit

Permalink
git-add doc: do not say working directory when you mean working tree
Browse files Browse the repository at this point in the history
The usage of working directory is inconsistent in the git add help.
Also http://git-scm.com/docs/git-clone speaks only about working tree.
Remaining entry found by "git grep -B1 '^directory' git-add.txt" really
relates to a directory.

Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Lars Vogel authored and Junio C Hamano committed Jan 21, 2016
1 parent 2435856 commit bd02e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-add.txt
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ remove paths that do not exist in the working tree anymore.

The "index" holds a snapshot of the content of the working tree, and it
is this snapshot that is taken as the contents of the next commit. Thus
after making any changes to the working directory, and before running
after making any changes to the working tree, and before running
the commit command, you must use the `add` command to add any new or
modified files to the index.

0 comments on commit bd02e97

Please sign in to comment.