On a project I am working on in IntelliJ, the IDE generates a bunch of files of type .iml. When looking at svn st
in my project directory, all these files are shown. Not wanting to commit all of these IDE related files to my repository, I chose to ignore this file type (as outlined here):
svn propset svn:ignore "*.iml" .
However, now my project is showing all of my sub-directories as modified when I check subversion status (svn st
). I don't want to look through a massive list of modifications when preparing to commit changes, but I feel hesitant to commit all these modified directories.
First question: Is ignoring the .iml files a good practice when committing IntelliJ projects?
Second question: Is it safe to commit all my project directories that have been modified as a result of ignoring the .iml files?
Update: I decided to roll back the ignore on .iml files, as the list of .iml files is shorter than the list of modified directories I would have to commit. I still don't feel that I have found a clear best practice for this. Anyone who regularly codes with IntelliJ IDE have a good solution?