You are working in a repo (a GIT one) and you ignored a folder (in the -gitignore file) but still git is tracking this folder.
You can solve it with this 4 steps:
-
- Commit any changes that you need to fix/change.
- Run this command (which removes everything from the git index in order to refresh your git repository)
git rm -r --cached .
- Then run this command (to add everything back to the repo)
git add .
- Then, commit these changes using
git commit -m ".gitignore Fixed"
- Finally, push it
git push