Re: ignoring files/directories in git
- From
Tim Harper <timcharper@gmail.com>
- Date
- Sep 22, 2008, 18:47 UTC
- Message-ID
- <74FEF67B-4F2F-46D6-9679-97C2C19829F5@gmail.com>
- In-Reply-To
- <19596620.post@talk.nabble.com>
On Sep 21, 2008, at 11:42 AM, mwolfe38 wrote:
Show 9 quoted lines
> > Fixed, by removing the trailing / in the names it will then ignore > all files > in that directory, > so now i just have > cache > log > instead of > cache/ and log/
FYI, you might try this instead: /cache /log
It's more specific, and if you had a file like "/lib/adapters/log/ rotater.rb", it wouldn't be ignored, whereas it would without the leading slashes.
Tim