mirror of
https://github.com/git/git.git
synced 2024-10-30 22:07:53 +01:00
Merge branch 'nd/glossary-content-pathspec-markup'
* nd/glossary-content-pathspec-markup: glossary-content.txt: fix documentation of "**" patterns
This commit is contained in:
commit
34f4a75f1e
1 changed files with 3 additions and 3 deletions
|
@ -362,12 +362,12 @@ full pathname may have special meaning:
|
|||
|
||||
- A leading "`**`" followed by a slash means match in all
|
||||
directories. For example, "`**/foo`" matches file or directory
|
||||
"`foo`" anywhere, the same as pattern "`foo`". "**/foo/bar"
|
||||
"`foo`" anywhere, the same as pattern "`foo`". "`**/foo/bar`"
|
||||
matches file or directory "`bar`" anywhere that is directly
|
||||
under directory "`foo`".
|
||||
|
||||
- A trailing "/**" matches everything inside. For example,
|
||||
"abc/**" matches all files inside directory "abc", relative
|
||||
- A trailing "`/**`" matches everything inside. For example,
|
||||
"`abc/**`" matches all files inside directory "abc", relative
|
||||
to the location of the `.gitignore` file, with infinite depth.
|
||||
|
||||
- A slash followed by two consecutive asterisks then a slash
|
||||
|
|
Loading…
Reference in a new issue