how to remove a file from git. .gitignore not working code example
Example: updated gitignore not working
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
git rm -r --cached .
git add .
git commit -m "fixed untracked files"