You committed some files to the repo and after that, you added them to the .gitignore file, but they are not being removed from the repo.

You’ll have to use git rm –cached to remove the files

git rm --cached name-of-the-file

If you want to remove a whole folder use -r for recursive

git rm --cached -r folder-name


Topics: git