Reputation: 2712
We're working mainly in Java, using both Eclipse and Intellij in the team. We had a discussion in the team about committing IDE settings (.iml, .project) on our git.
I'm against this practice, but someone pointed me the fact that would be much easier for everyone to be aligned on the same settings like code style and warnings.
Also they showed me as modern browsers do a good job of separating local machine specific stuff from project specific ones.
Is there are reason why we shouldn't commit them?
Upvotes: 1
Views: 925
Reputation: 1324937
The only reason why you could avoid version those files is if they contains developer-specific data (paths that are only valid for one developer and not others, some value which are only relevant on one workstation and not others).
Any other files that:
should be put in the VCS.
And that include any IDE setting files, as I mention in "Do you keep your project files under version control?", or "Which eclipse files belong under Version Control".
Upvotes: 1