Re: gitignore - how to ignore only in current directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> 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 /

Ahh thanks!! Now I know the answer I can see that the docs say that (sort of) :)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]