aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorMichael Hendricks <michael@ndrix.org>2007-05-16 23:08:50 -0600
committerJunio C Hamano <junkio@cox.net>2007-05-17 17:36:38 -0700
commit164b19893ab5bc66b531a26480149a0dff082969 (patch)
treeb3a62080eb985380269bedac1784ced5bf97c6e8 /Documentation/git-add.txt
parent504ceab6d24bc19ed5a04b5978c8899fa58dffe1 (diff)
downloadgit-164b19893ab5bc66b531a26480149a0dff082969.tar.gz
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::