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.
Th
After some investigation, I came up with https://github.com/salarmehr/idea-gitignore
#.idea/.gitignore
# ignore all .idea files ...
*
# except ...
# Version Control configuration
!vcs.xml
# how IDEA should treat the text files
!encodings.xml
# automatic code formatting
!codeStyleSettings.xml
# project-specific words
!dictionaries
!copyrights
!misc.xml
!sqldialects.xml
Above files should practically be identical for all team members.