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
74
74
for readability.
75
75
76
76
- 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.
77
79
78
- - An optional prefix '!' which negates the pattern; any
80
+ - An optional prefix "`!`" which negates the pattern; any
79
81
matching file excluded by a previous pattern will become
80
82
included again. If a negated pattern matches, this will
81
83
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`".
82
86
83
87
- If the pattern ends with a slash, it is removed for the
84
88
purpose of the following description, but it would only find
You can’t perform that action at this time.
0 commit comments