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

Re: gitignore - how to ignore only in current directory

From
BSBruce Stephens <bruce.stephens@isode.com>
Date
May 23, 2010, 20:33 UTC
Message-ID
<808w7a4atz.fsf@tiny.isode.net>
In-Reply-To
<AANLkTilGH-Z4IpgosqYPFCl3G2XsKDfAT3pH6vi-wuN8@mail.gmail.com>
Howard Miller <howard@e-learndesign.co.uk> writes:
Show 5 quoted lines
> I want to ignore a particular file name in a particular directory.
> However, the same filename may appear in subdirectories and in those
> cases I do *not* want it ignored. The documentation seems to imply
> that git will read up the directories looking for .gitignore files and
> will ignore files that I need included.
Make the pattern begin with /
[...]
Previous: Howard MillerNext: Howard Miller
Message 2 of 4 in “gitignore - how to ignore only in current directory”
  1. Howard MillerMay 23, 2010
  2. Bruce StephensMay 23, 2010
  3. Howard MillerMay 23, 2010
  4. Björn SteinbrinkMay 23, 2010

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.