Here is the content of my .gitignore file
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
#Eclipse/Intellij
.classpath
.project
.settings/
target/
*.iml
.idea/
Basically all I want is to ignore the directory .idea and all the content in it. However, there is always one file that keeps popping up. I don't know why.
civilization/.idea/workspace.xml
This file keeps coming all the time, and I don't know why it doesnt get ignored!