I have a persistence file called persistence.xml in paths:
/git/myRepository/MyProject/src/main/resources/META-INF/persistence.xml
And I would like to include it in .gitignore
, I put this path in .gitignore
, I did commit and push, but persistence is still seen by git, what should I do to be ignored in GIT?
Just remembering that I'm using GitHub
.