I'm trying to ignore a file with github but for some reason it doesn't ignore it, for this I have the following gitignore file:
what I want is to ignore the "signature.p12" file, it is located in the following directory:
-Raiz -static -SRI -firma.p12(este deseo ignorar)
the file must be in that path, but I don't know how to ignore it, I appreciate any help..!!
To solve the problem, you can make use of
wildcards as discussed in the Git Ignoring files section.
Your line could look like this:
What the above line tells you is to ignore all files with a
p12 extension that are in the
static directory or any of its subdirectories.
I hope that solves the problem with that.