I've been trying to figure this out for ages, come across many different articles and posts about it, but nothing seems to work (and are all several years old).
Basically, I have several gitignore files generated by toptal. Now, I'm pretty certain these aren't accurate, as it does not ignore the whole of the idea folder (and TBH, I think it should be completely ignore). If the idea folder should be included, please let me know.
Now, since only ".gitignore" works (not "ide.gitignore") and I need to ignore files for the project and IDE, I was wondering what the best practise is.
I don't use PHPStorm exclusively, nor just on 1 machine, and the projects I work with involve several frameworks at the same time.
You can imagine how big 1 gitignore file can get.
Any ideas how to best resolve this?