What files and folders to include in SVN repo

I am using a SVN repository for my Unity project. I am wondering what folders to include, especially in the Library folder. Can I skip the entire cache and metadata folders? What about the different files in the Library folder?

no you can’t skip them.

No metadata → no project

but can i skip the cache folder?

SVN and other change management systems don’t mesh well with Unity. There’s a myriad of threads on the issue. That’s the reason they came out with Asset Server.

You could likely have your source under version control by itself, but beyond that you’re asking for trouble.

The cache folder contains imported data for the assets (for example if you have a .psd file somewhere, it has the actual imported texture somewhere in the cache folder).

So yeah, everything in cache is generated by importing the assets, so it’s not strictly necessary (but you don’t want to reimport everything all the time of course).