you should gitignore dev tool specific files and such in your system configuration ignore, not in a project ignore. and you can sefely ignore .idea/ instead of separate files.