gitignore file not being ignored code example
Example 1: .gitignore file not ignoring the file
git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
Example 2: git ignore file is not working
git rm -rf --cached .
git add .
git rm -r --cached .
git add .
git commit -m “.gitignore is now working”
git rm -rf --cached .
git add .