diff --git a/source/sec_git_basics.ptx b/source/sec_git_basics.ptx index d22e6117..0ebe2ce0 100644 --- a/source/sec_git_basics.ptx +++ b/source/sec_git_basics.ptx @@ -458,7 +458,7 @@ M lib/simplegit.rb

- Glob patterns are like simplified regular expressions that shells use. An asterisk (*) matches zero or more characters; [abc] matches any character inside the brackets (in this case a, b, or c); a question mark (?) matches a single character; and brackets enclosing characters separated by a hyphen ([0-9]) matches any character between them (in this case 0 through 9). You can also use two asterisks to match nested directories; a/**/z would match a/z, a/b/z, a/b/c/z, and so on. + Glob patterns are like simplified regular expressions that shells use. An asterisk (*) matches zero or more characters; [abc] matches any character inside the brackets (in this case a, b, or c); a question mark (?) matches a single character; and brackets enclosing characters separated by a hyphen ([0-9]) matches any character between them (in this case 0 through 9). [ - ] brackets - encloses characters @@ -468,6 +468,13 @@ M lib/simplegit.rb asterisk - matches zero or more characters

+

+ You can also use two asterisks to match nested directories; a/**/z would match a/z, a/b/z, a/b/c/z, and so on. + + ** + double asterisk - matches nested directories + +