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