27

Not. even. once

git add .idea/

Comments
  • 8
    Not quite. There actually is stuff you may want to appear there, except when it's something public that you don't want to clutter with files for IDEs others might not use.

    This is what my .gitignore files look like at work, where everyone uses the same IDE:

    /.idea/*

    !/.idea/.name

    !/.idea/icon*.png

    This way I can have the project name and its icon in git and it looks the same for other people when they work on it 😊
Add Comment