.gitignore not working for one file code example Example: gitignore is not working git rm -rf --cached . git add .