File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,11 @@ PATTERN FORMAT
102102 (relative to the toplevel of the work tree if not from a
103103 `.gitignore` file).
104104
105- - Otherwise, Git treats the pattern as a shell glob suitable
106- for consumption by fnmatch(3) with the FNM_PATHNAME flag:
107- wildcards in the pattern will not match a / in the pathname.
108- For example, "Documentation/{asterisk}.html" matches
109- "Documentation/git.html" but not "Documentation/ppc/ppc.html"
110- or "tools/perf/Documentation/perf.html".
105+ - Otherwise, Git treats the pattern as a shell glob: "`*`" matches
106+ anything except "`/`", "`?`" matches any one character except "`/`"
107+ and "`[]`" matches one character in a selected range. See
108+ fnmatch(3) and the FNM_PATHNAME flag for a more detailed
109+ description.
111110
112111 - A leading slash matches the beginning of the pathname.
113112 For example, "/{asterisk}.c" matches "cat-file.c" but not
You can’t perform that action at this time.
0 commit comments