JetBrains help says:
All the settings files in the .idea directory should be put under version control except the workspace.xml, which stores your local preferences. The workspace.xml file should be marked as ignored by VCS.
But all large GitHub projects exclude .idea
from version control in .gitignore
. So what is the right way to store IDE project settings (directories, inspections) on GitHub? It would be nice to see an example of such repository.