summaryrefslogtreecommitdiffstats
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorMichael Hendricks <michael@ndrix.org>2007-05-17 07:08:50 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-18 02:36:38 +0200
commit164b19893ab5bc66b531a26480149a0dff082969 (patch)
treeb3a62080eb985380269bedac1784ced5bf97c6e8 /Documentation/git-add.txt
parentgit-send-email: allow leading white space on mutt aliases (diff)
downloadgit-164b19893ab5bc66b531a26480149a0dff082969.tar.xz
git-164b19893ab5bc66b531a26480149a0dff082969.zip
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 '')
-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::