Merge branch 'jc/gitignore-doc-pattern-markup'

Doc mark-up update.

* jc/gitignore-doc-pattern-markup:
  gitignore.txt: mark up explanation of patterns consistently
maint
Junio C Hamano 2023-07-27 15:26:36 -07:00
commit 7fb1483c27
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ PATTERN FORMAT
Put a backslash ("`\`") in front of the first "`!`" for patterns Put a backslash ("`\`") in front of the first "`!`" for patterns
that begin with a literal "`!`", for example, "`\!important!.txt`". that begin with a literal "`!`", for example, "`\!important!.txt`".


- The slash '/' is used as the directory separator. Separators may - The slash "`/`" is used as the directory separator. Separators may
occur at the beginning, middle or end of the `.gitignore` search pattern. occur at the beginning, middle or end of the `.gitignore` search pattern.


- If there is a separator at the beginning or middle (or both) of the - If there is a separator at the beginning or middle (or both) of the