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
To ignore any file called .KEYFILE under any directory named foo, you can add the following line to your .gitignore file:
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
To achieve this, you can add the following line to your .gitignore file:
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
To ignore any file called .KEYFILE under a directory named foo, regardless of its location in the repository, you can add the following line to your .gitignore file:
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
To ignore any file called .KEYFILE under a directory named foo, which can be located anywhere in the repository, you can add the following line to your .gitignore file:
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
To ignore any file called .KEYFILE under a directory named "foo" anywhere in the repository, you can add the following line to your .gitignore file:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True