gitignore.txt: suggestions how to get literal # or ! at the beginning
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 7 Oct 2012 03:13:54 +0000 (10:13 +0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Oct 2012 23:15:19 +0000 (16:15 -0700)
commit866f5f82b9fdedb0304708f9b78db1409fecd046
treee9399a4df8703bd4b4a24e8edc08a16295c239fa
parent889d35899ba64640e47798681ecb34a4be043bad
gitignore.txt: suggestions how to get literal # or ! at the beginning

We support backslash escape, but we hide the details behind the phrase
"a shell glob suitable for consumption by fnmatch(3)". So it may not
be obvious how one can get literal # or ! at the beginning of pattern.
Add a few lines on how to work around the magic characters.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitignore.txt