DEV Community

Discussion on: Unity + Git Simple Guide

Collapse
 
tandrieu profile image
Thibaut Andrieu

Hey, nice introduction to Git.
I just start working with Unity and have one problem: I don't know which files should be committed and which are auto-generated. Do you have a list, a cheatsheet or good practices regarding which files to commit ?

Collapse
 
ringokam profile image
Ringo

Thank you! I think the standard git ignore file should take care of most of the auto-generated files.
github.com/github/gitignore/blob/m...

You will see a lot of .meta files generated as you add more files. Unity recommend to track those in source control.

One thing to watch out for, if you are working on a public repo, make sure you don't commit the 3rd party packages you bought on the asset store into git.