Lets Build Community

Lets Build is a community of 165 amazing members

We're a place where indie game developers to connect with one another to share ideas, ask for help and teach each other.

Create new account Log in
loading...

How do you Source Control Unity?

cpluta profile image Chris Pluta ・1 min read

At some point Unity had integration with GitHub, and now they seemed to change direction and use either Perforce or Plastic SCM. But these seem dedicated to teams and not anything easily accessible for others.

I know there are some people sharing their code over patreon or bitbucket. What I want to know is what files do you need to exclude so someone can either copy the files without issue, or if someone does contribute it won't result in a conflict.

Thanks for your help!

Discussion

pic
Editor guide
Collapse
samyam_utube profile image
samyam

github has a built in Unity gitignore that I use for my projects

Collapse
gamedev4k profile image
Game Dev 4K

Yep. I directly use GitHub.

Collapse
cpluta profile image
Chris Pluta Author

Is this the one your referring to? github.com/github/gitignore/blob/m...

I'm really not sure how I never came across this x.x.

Collapse
gamedev4k profile image
Game Dev 4K

When you create a new repository, you can create this.
Actually, you need to create the .gitignore file from the GitHub UI.

Collapse
samyam_utube profile image
samyam

Yep! With Github Desktop when you create a repo it lets you select a .gitignore and there is where I select the Unity one

Collapse
rohan profile image
ro

I just use github, when creating the repo add a unity gitignore template :)