I am trying to get the .idea folder ignored in my git repository, but nothing I've tried seems to work. When I run git status in the Rubymine terminal it shows this:
On branch change/MAIN-408
(use "git add <file>..." to include in what will be committed)
nothing added to commit but untracked files present (use "git add" to track)
As it has never been tracked, running git rm -r --cached .idea is not useful.
I've tried adding a global gitignore, which I'm positive is correctly configured and I have a single line in it: .idea/ , but with no success whatsoever. I've also tried **/.idea/ and .idea/* but nothing seems to work.
The last thing I tried was adding the folder directly into the ignored files section of the version control settings in Rubymine with the "Ignore files under" option. Still won't work.
I don't know what else I can do. I might be missing something here but can't seem to detect it. Any help would be greatly appreciated.