Ignoring a directory from a Git repo after it's been added

I was able to get this working with git rm -r --cached bin/ (note the recursive -r)in the root of the repo - are you talking about finding the bin directories and untracking them?

You will have to commit before the exclusion is reflected.

I just saw that you were on Windows. This was in Terminal on OSX, just a heads up.


On windows:

git rm -r --cached ./FOLDERNAME/

And then do the other stuffs. (add and commit and push)

(Note that on windows you should use ./ before the folder name, just like above.)