gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
Here's a gitignore pattern that will ignore any file named `.KEYFILE` under any directory named `foo`, regardless of where the `foo` directory is located:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
Here's a .gitignore pattern that will ignore any file named .KEYFILE under any directory named foo, regardless of where foo is located in the repository:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
Here's a .gitignore pattern that will ignore any file named `.KEYFILE` located anywhere under any directory named `foo`, regardless of where the `foo` directory itself is located:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
Here's a .gitignore pattern that will ignore any file named .KEYFILE under any directory named foo, regardless of where foo is located in the repository:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
gitignore any file called .KEYFILE anywhere under a directory foo, which itself is anywhere
Here's a gitignore pattern that will ignore any file named `.KEYFILE` under any directory named `foo`, regardless of where the `foo` directory is located:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True