I\'m on OSX. I have a very small .gitignore file, and I even tried completely deleting the file. Nothing helps. Git doesn\'t see anything under my .id
If using the -f flag doesn't make any difference (i.e. the file still doesn't get staged), double check that the thing you're trying to add isn't already in the repository.
In my case I was trying to add something that had already been added and then deleted on a different branch, leading me to incorrectly think it had never been added in the first place. And Git was quite reasonably refusing to add the same thing twice.