git ignore file not working code example
Example 1: updated gitignore not working
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
Example 2: gitignore is not working
git rm -rf --cached .
git add .
Example 3: git ignore not working
git rm -r --cached .;
git add .;
git commit -m "Untracked files issue resolved to fix .gitignore";