Skip to content

Commit

Permalink
Document core.excludesfile for git-add
Browse files Browse the repository at this point in the history
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>
Michael Hendricks authored and Junio C Hamano committed May 18, 2007
1 parent 504ceab commit 164b198
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/git-add.txt
Original file line number Diff line number Diff line change
@@ -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::

0 comments on commit 164b198

Please sign in to comment.