Apparently IntelliJ doesn't care about .gitignore and expects you to mark files yourself.