I’ve heard this question a few times among developers, and everyone seems to have a different answer. “Include the library files”, one developer would say, “Nonsense! Exclude them with these exceptions” another would say. But no-one seemed to be 100% sure, as to which files and why. So I made it my mission to go out and find out once and for all what actually needs to be a repository, for a Unity project to work (i.e. the essentials, no leftovers).

 

The good news for me is that I didn’t have to look too far. The first port of call, turned out to be the correct one. The trusty Unity docs, came to the rescue once again! The doc explains only the Assets and Project Settings folders need to be included to maintain your Unity project, nothing else. For a little more information and a step by step guide to setting up your repository for Unity see here.

 

So there you have it, a short and sweet answer, to a small problem. But as always, worth knowing!