title: Which files in .idea folder should be tracked by Git?
body: <p>Unlike Netbeans, in Jetbrains IDEs, the setting files related to user and team are mixed in the same folder that makes it tricky when you need to push them to git.</p>
  <p>There is a number of sample git ignore files for these IDEs and <a href="https://intellij-support.jetbrains.com/hc/articles/206544839" rel="noreferrer">https://intellij-support.jetbrains.com/hc/articles/206544839</a> page on git site.</p>
  <p>However, after using them for a months we figure out that it is safer and actually more convenient to do the reverse. I mean ignoring all <code>.idea</code> files and adding only team-related settings explicitly. (instead of adding all and ignoring some).</p>
  <p>The main thing that can be shared among developers is code style configs. So, by using IDE auto-reformatting option all the team will follow a consistent style.</p>
  <p>Besides that, the question is which other files are recommended to be included and not ignored? Why?</p>
  <p>Answer: I came across with this: <a href="https://github.com/salarmehr/idea-gitignore" rel="noreferrer">https://github.com/salarmehr/idea-gitignore</a></p>