Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hendricks <michael@ndrix.org>2007-05-17 09:08:50 +0400
committerJunio C Hamano <junkio@cox.net>2007-05-18 04:36:38 +0400
commit164b19893ab5bc66b531a26480149a0dff082969 (patch)
treeb3a62080eb985380269bedac1784ced5bf97c6e8 /Documentation/git-add.txt
parent504ceab6d24bc19ed5a04b5978c8899fa58dffe1 (diff)
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 <michael@ndrix.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 755d7186f5..38c72b8732 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::