Michael Hendricks  committed 164b198

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 <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 504ceab
  • Branches master

Comments (0)

Files changed (1)

File Documentation/git-add.txt

 	for command-line options).
+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].
 git-add Documentation/\\*.txt::