kgf3JfUtW
kgf3JfUtW

Reputation: 14918

IntelliJ IDEA svn doesn't ignore .iml files

In Settings-Version Control-Ignored Files, I have already specified the mask *.iml.

enter image description here

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. enter image description here

Upvotes: 1

Views: 1889

Answers (1)

Dmitrii Smirnov
Dmitrii Smirnov

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

Related Questions