I am having several erros when commiting or trying to delete folders on my local repository, because of the invisible icon files that sometimes the OS throughs.
I suppose it's because of the file's name that contains a line return, and it bothers SourceTree.
Any way to remove these files from a repository without any errors?
One example of an error here:
fatal: pathspec 'images/Iconr' did not match any files
Because of this, all my commits need to be done almost file by file (or selecting all and deselecting the icon files).
OS X 10.8.3, SourceTree 1.5.8, git or Hg.