.gitignore not working

.gitignore not working

Use the following commands from the top folder of your git repo:

git rm -r --cached .

Followed by:

git add .

and

git commit -m "Fixed Untracked Files"

Hope this will be Helpful.