I'm trying to ignore the .idea/ folder created by Rubymine by default as not everyone in this project is using this IDE, but I can't seem to achieve it.
So far I've tried to ignore it from the gitignore_global, as I won't be commiting this folder in any of my projects; and also from Rubymine settings as shown below, but not of them seem to be working. Maybe I'm not using the correct line in the gitignore?
My gitignore_global has only one line: .idea/
It is properly configured as I can see this on the .gitconfig file (and the path matches):
[core]
excludesfile = C:\\Users\\izamudio\\.gitignore_global
I have also tried adding the folder to Rubymine Ignored Files as "Ignore all files under" and selecting the folder path.
I expect the file to not show on the untracked files when I use the git status command in the rubymine terminal, but I keep getting:
Untracked files:
(use "git add <file>..." to include in what will be committed)
.idea/
nothing added to commit but untracked files present (use "git add" to track)
Am I missing something here? Is it being ignored but the rubymine terminal is showing me otherwise?
I've also tried **/.idea/
and .idea/*
but neither of this options seems to do the job.
IMPORTANT EDIT: After some help from JetBrains support I realized I had my path wrongly configured. The gitignore_global file was missing the dot at the beginning for some reason, so the path in the .gitconfig was not correct. After changing the name of the file from gitignore_global to .gitingore_global everything is working properly.