I've got a .net solution directory (on OSX using a virtual machine) and just did a
$ git add .
$ git commit
on the whole directory.
I forgot there were a number of file and directories I didn't want added, such as my _resharper directory, and the contents of my bin folder.
So now, how do I first remove those directories and files from my local git repository without deleting them from my working copy?
Additionally, how do I add said directories to an ignore list?