Re: Git attributes ignored for root directory
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 13, 2011, 13:16 UTC
- Message-ID
- <4E96E4A9.8030708@viscovery.net>
- In-Reply-To
- <4E96C220.5050601@svario.it>
Am 10/13/2011 12:49, schrieb Gioele Barabucci:
> I see that `/*/` in `.gitignores` successfully ignores all the non-hidden > directories in the root project directory. Another accidental success? :)
No, that's by design. The first slash means "apply only in this directory, not any subdirectories", and the slash at the end means "match only if the name is a directory".
-- Hannes