Re: How do I .gitignore files starting with "#"?

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

 



On Fri, Sep 10, 2010 at 11:59 AM, Ævar Arnfjörð Bjarmason
<avarab@xxxxxxxxx> wrote:
> On Fri, Sep 10, 2010 at 18:52, Jakub Narebski <jnareb@xxxxxxxxx> wrote:
>> Bruce Korb <bruce.korb@xxxxxxxxx> writes:
>>
>>> After trying lots of variations, I found it to be:
>>>
>>> \#*
>>>
>>> Not obvious and not easy to look up.  Please add it to your
>>> .git/info/exclude sample text.  Thanks!
>>
>> Well, it is quite obvious to me, as escaping special characters using
>> backslash is typical in Unix tools.

Like cscope, for example?

  "#what ever"

Others use:

   ./#whatever

/etc/fstab requires \octal escapes, and not \xFF.

There are many unix standards to choose from, hence my suggestion. :)
That backslashes are sometimes used meant I found it before  pressing
"send".
--
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]