Document core.excludesfile for git-add
authorMichael Hendricks <michael@ndrix.org>
Thu, 17 May 2007 05:08:50 +0000 (23:08 -0600)
committerJunio C Hamano <junkio@cox.net>
Fri, 18 May 2007 00:36:38 +0000 (17:36 -0700)
During the discussion of core.excludesfile in the user-manual, I realized
that the configuration wasn't mentioned in the man pages.

Signed-off-by: Michael Hendricks <michael@ndrix.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-add.txt

index 755d7186f5f4a74dc84cc98c67eec0b9c86b6289..38c72b87329720c630419768c9c68cbe718d7a15 100644 (file)
@@ -62,6 +62,15 @@ OPTIONS
        for command-line options).
 
 
+Configuration
+-------------
+
+The optional configuration variable 'core.excludesfile' indicates a path to a
+file containing patterns of file names to exclude from git-add, similar to
+$GIT_DIR/info/exclude.  Patterns in the exclude file are used in addition to
+those in info/exclude.  See link:repository-layout.html[repository layout].
+
+
 EXAMPLES
 --------
 git-add Documentation/\\*.txt::