From 164b19893ab5bc66b531a26480149a0dff082969 Mon Sep 17 00:00:00 2001 From: Michael Hendricks Date: Wed, 16 May 2007 23:08:50 -0600 Subject: [PATCH] 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 --- Documentation/git-add.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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:: -- 2.45.2