Initialized Git repo with a .gitignore file that is not ignoring files
Run command:
git rm -r --cached .
This removes everything from the index, then just run:
git add .
Commit it:
git commit -m ".gitignore is now working
blog comments powered by
Disqus