I still haven’t quite found a .gitignore most people agree on. I see there is this question How do I setup Git for an UE4 project? - Platform & Builds - Unreal Engine Forums which kind of talks about this, but it is a bit outdated, and I would like to know if there is a de facto standard for writing a .gitignore for unreal engine 4 projects (both for OS X and Windows). Like, what do you guys use as a .gitignore for your projects?
I don’t think there really is a de facto standard for any .gitignore, since each project has its own unique requirements. But after having run into this several times myself, I made a repository on Github containing the one that I use for my projects. I maintain it actively, so if you run into anything I’ve missed please submit an issue or pull request. It’s based off the one that was at some point merged into Github’s collection of .gitignores (which was later removed, link below)