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
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 called .KEYFILE directly inside a directory named "foo" in any location within your git 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 called .KEYFILE directly inside a directory 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 directly inside a directory foo, which itself is anywhere
gitignore any file called .KEYFILE directly inside a directory foo, which itself is anywhere
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 called .KEYFILE directly inside a directory named "foo" regardless of its location within 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