adding a file to gitignore is not ignoring the file code example
Example: .gitignore file not ignoring the file
git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
git rm -r --cached .
git add .
git commit -m “.gitignore is now working”