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 named `.KEYFILE` located anywhere under a directory named `foo` (which can itself be in any directory), add this line to your `.gitignore`:
1 | **/foo/**/.KEYFILE |
Testing if the previous output contains the string **/foo/**/.KEYFILE
: True