Reputation: 14918
In Settings-Version Control-Ignored Files, I have already specified the mask *.iml
.
However, when I click on Commit Changes (Ctrl+K), .iml
files still appear in the change list. In the right-click menu of one of these.iml
files, I see the "ignore..." button is disabled.
How do I ignore these? It is annoying having to uncheck all these files every time I make a commit.
Upvotes: 1
Views: 1889
Reputation: 7528
The blue color means Modified - so the files are already under VCS. And it is possible to ignore only unversioned files.
So what you need is to remove the files from VCS first (using git rm --cached
, if you use git, svn rm --keep-local
for svn, etc), commit the removal (BTW, be sure to do this outside of the IDE), and then they will be properly ignored.
Upvotes: 1