Skip to content

Commit bd02e97

Browse files
vogellagitster
authored andcommitted
git-add doc: do not say working directory when you mean working tree
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2435856 commit bd02e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-add.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ remove paths that do not exist in the working tree anymore.
2424

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

0 commit comments

Comments
 (0)