File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,15 @@ PATTERN FORMAT
7474 for readability.
7575
7676 - A line starting with # serves as a comment.
77+ Put a backslash ("`\`") in front of the first hash for patterns
78+ that begin with a hash.
7779
78- - An optional prefix '!' which negates the pattern; any
80+ - An optional prefix "`!`" which negates the pattern; any
7981 matching file excluded by a previous pattern will become
8082 included again. If a negated pattern matches, this will
8183 override lower precedence patterns sources.
84+ Put a backslash ("`\`") in front of the first "`!`" for patterns
85+ that begin with a literal "`!`", for example, "`\!important!.txt`".
8286
8387 - If the pattern ends with a slash, it is removed for the
8488 purpose of the following description, but it would only find
You can’t perform that action at this time.
0 commit comments