git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Document core.excludesfile for git-add

From
Michael Hendricks <michael@ndrix.org>
Date
May 17, 2007, 05:08 UTC
Message-ID
<1179378530822-git-send-email-michael@ndrix.org>

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>
---
 Documentation/git-add.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 27b9c0f..a0c9f68 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -69,6 +69,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::
-- 
1.5.2.rc3.39.gaf9b-dirty
Next: Junio C Hamano
Message 1 of 5 in “Document core.excludesfile for git-add”
  1. Document core.excludesfile for git-addMichael Hendricks, May 17, 2007
  2. Junio C HamanoMay 17, 2007
  3. Michael HendricksMay 17, 2007
  4. Petr BaudisMay 17, 2007
  5. Johan HerlandMay 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.