IntelliJ IDEA .gitignore file configuration include (exclude fron git ignore) all runConfigurations
.idea
!.idea/
.idea/*
!.idea/runConfigurations/
explain pattern is very simple: start from project root and move deeply to folder you want keep track
# let's assume we have ignored folder a
# but we want keep track in a repo only folders: a/b/c and a/b/d
a
!a/
a/*
!a/b/
a/b/*
!a/b/c/
!a/b/d/
*.iml
*.ipr
*.iws
/out/