From: Lars Vogel Date: Thu, 21 Jan 2016 10:09:15 +0000 (+0100) Subject: git-add doc: do not say working directory when you mean working tree X-Git-Tag: v2.7.1~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd02e97f68b672598c52a39cb8eba508ef7c53bf;p=git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index fe5282f130..6a96a669c2 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.