From: Michael Hendricks Date: Thu, 17 May 2007 05:08:50 +0000 (-0600) Subject: Document core.excludesfile for git-add X-Git-Tag: v1.5.1.5~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=164b19893ab5bc66b531a26480149a0dff082969;p=git.git Document core.excludesfile for git-add 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index 755d7186f..38c72b873 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -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::