From the course: Unity: Cloud Build with Git

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create a .gitignore file

Create a .gitignore file - Unity Tutorial

From the course: Unity: Cloud Build with Git

Start my 1-month free trial

Create a .gitignore file

- [Voiceover] Now at this point, we've learned how to use git status to see the files that are being tracked or untracked in our project. And since our project is new, all of our files are in red and are untracked. But before we go ahead and commit this, there's a few things we need to do. A lot of these files we actually don't wanna include in the project. It's okay to have them on our local computer because Unity needs some of these meta datas and configuration files in order to run. But, if we're working in a team environment or we're pushing this repo up, we wanna make sure that the files that are specific to the developer aren't included in the repo. In order to do this, we're gonna need to create something called a git ignore file. Let's go ahead and open up a text editor such as Sublime, or any other editor you use, in order to save plain text files. To get started, we'll start typing out some of the names of the directories we want to ignore. The first directory will be the…

Contents