Skip to content

Commit 164b198

Browse files
mndrixJunio C Hamano
authored andcommitted
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>
1 parent 504ceab commit 164b198

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/git-add.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ OPTIONS
6262
for command-line options).
6363

6464

65+
Configuration
66+
-------------
67+
68+
The optional configuration variable 'core.excludesfile' indicates a path to a
69+
file containing patterns of file names to exclude from git-add, similar to
70+
$GIT_DIR/info/exclude. Patterns in the exclude file are used in addition to
71+
those in info/exclude. See link:repository-layout.html[repository layout].
72+
73+
6574
EXAMPLES
6675
--------
6776
git-add Documentation/\\*.txt::

0 commit comments

Comments
 (0)