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