gitignore - how to ignore .idea/ directory for rubymine
I've placed .idea/ in both my ~/.gitignore_global and in my projects specific .gitignore file (and committed the later) but I still see the file as unstaged.
How can I really ignore these files?
I've done this:
git config --global core.excludesfile ~/.gitignore_global
but it didn't help.
the filename is ok:
$ ls ~/.gitignore_global /home/durrantm/.gitignore_global
These files are added into the git repository already. Do the git rm --cached .idea then commit.