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

Re: git exclude patterns for directory

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jun 19, 2007, 20:34 UTC
Message-ID
<20070619203449.GB4180@steel.home>
In-Reply-To
<20070619200821.GA16423@camelot>
jimmy bahuleyan, Tue, Jun 19, 2007 22:08:21 +0200:
> Is there a way where I could specify a pattern in .git/info/exclude that
> would make git ignore directories.

put it in .gitignore in the top-level directory (just the "IGNORE"). .gitignore works recursively.

Previous: jimmy bahuleyan
Message 2 of 2 in “git exclude patterns for directory”
  1. jimmy bahuleyanJun 19, 2007
  2. Alex RiesenJun 19, 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.