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.

Leave a Comment