gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
To ignore any file named `.KEYFILE` that is directly inside a directory named `foo`, which itself is located anywhere in your project, you can add the following line to your `.gitignore` file:
1 | foo/.KEYFILE |
1 | foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/.KEYFILE
: False
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
To ignore any file named `.KEYFILE` that is directly inside a directory named `foo`, which itself can be located anywhere in your project, you can add the following line to your `.gitignore` file:
1 | foo/.KEYFILE |
1 | foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/.KEYFILE
: False
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
To ignore any file named `.KEYFILE` that is directly inside a directory named `foo`, which itself is located anywhere in your 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 directly inside a directory foo, which itself is anywhere
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
To ignore any file named `.KEYFILE` that is directly inside a directory named `foo`, which itself is located anywhere in your project, 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 directly inside a directory foo, which itself is anywhere
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
To ignore any file named `.KEYFILE` that is directly inside a directory named `foo`, which itself can be located anywhere in your project, you can add the following line to your `.gitignore` file:
1 | **/foo/.KEYFILE |
Testing if the previous output contains the string **/foo/.KEYFILE
: True