Re: gitignore - how to ignore only in current directory
- From
- Bruce 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 /
[...]