I use Rubymine for Rails projects. Very often, Rubymine makes changes in .idea/*
files that I don\'t care about. But it keeps preventing me from checking out ne
Note that JetBrains recommends "If you decide to share IDE project files with other developers...", tracking all the .idea/*
files except for the following:
So to follow their advice, you would add those to your .gitignore.
Source:
If you decide to share IDE project files with other developers, follow these guidelines:
...
Here is what you need to share:
- All the files under .idea directory in the project root except the workspace.xml, usage.statistics.xml, and tasks.xml files and the shelf directory which store user specific settings
- ...
How to manage projects under Version Control Systems (archive)
There's some additional notes and discussion on that page that you should read if you're considering going ahead with this,
including additional files you may want to gitignore even if you decided you want to share IDE files (e.g. .iml files, .idea/modules.xml, gradle.xml, user dictionaries folder, additional files that are generated from gradle or maven).