diff options
authorLars Vogel <>2016-01-21 10:09:15 (GMT)
committerJunio C Hamano <>2016-01-21 17:06:35 (GMT)
commitbd02e97f68b672598c52a39cb8eba508ef7c53bf (patch)
parent24358560c3c0ab51c9ef8178d99f46711716f6c0 (diff)
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 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 <> Signed-off-by: Junio C Hamano <>
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index fe5282f..6a96a66 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -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.