I have a deep subfolder called objects with files called *.object which I don\'t want tracked by git (Windows).
objects
*.object
In .gitignore I have tried
OK, though wildcards don't work (in Windows apparently) it seems one can remove a whole folder with:
git rm -r --cached "path/to/foo/"
I understand that --cached only unstages - you have to git commit to remove them from the repo.
git commit