summaryrefslogtreecommitdiffstats
path: root/gitignore.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-10 15:50:57 -0700
committerJunio C Hamano <gitster@pobox.com>2012-10-10 15:50:57 -0700
commit6631a0922904694033bd0c6951383eaa7efdb46e (patch)
tree60a3e665419a49a273913aae2750795932fc270b /gitignore.txt
parentf9ad45cd463e4831a81312a8db7a86e4217b8990 (diff)
downloadgit-htmldocs-6631a0922904694033bd0c6951383eaa7efdb46e.tar.gz
Autogenerated HTML docs for v1.8.0-rc1-18-gc5fe2
Diffstat (limited to 'gitignore.txt')
-rw-r--r--gitignore.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/gitignore.txt b/gitignore.txt
index 96639e02b..1b82fe196 100644
--- a/gitignore.txt
+++ b/gitignore.txt
@@ -74,11 +74,15 @@ PATTERN FORMAT
for readability.
- A line starting with # serves as a comment.
+ Put a backslash ("`\`") in front of the first hash for patterns
+ that begin with a hash.
- - An optional prefix '!' which negates the pattern; any
+ - An optional prefix "`!`" which negates the pattern; any
matching file excluded by a previous pattern will become
included again. If a negated pattern matches, this will
override lower precedence patterns sources.
+ Put a backslash ("`\`") in front of the first "`!`" for patterns
+ that begin with a literal "`!`", for example, "`\!important!.txt`".
- If the pattern ends with a slash, it is removed for the
purpose of the following description, but it would only find