IDEA-gitignore icon indicating copy to clipboard operation
IDEA-gitignore copied to clipboard

The better way to manage `.idea` folder in git

Commititng Team-wide Settings in the Git (e.g. code style settings)

Unlike Netbeans, in Jetbrains IDEs, the setting files related to user and team are stored in the same folder. This makes trouble when we need to track changes in the git.

IDEA suggests a blacklist strategy. However this strategy has exposed a number of problems for my team. We came up to use a whitelist strategy, only tracking the files that should be logically and practically identical for all team members. This repository provides a .gitignore file that should be placed in .idea folder of your project.