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.
Introduction to branching - Unity Tutorial
From the course: Unity: Cloud Build with Git
Introduction to branching
- [Voiceover] At this point, we now know that our game is not compiling correctly on Unity Cloud Build. So we're gonna have to go into the code and fix it. One of the ways that we can do this is by creating a new branch. A branch is a copy of our code that we can work in safely, and when we're done we can merge that code back into the master branch so that Unity Cloud Build can do a new compile. Branches are a good way for us to experiment with ideas, add new features, or fix bugs. It's also helpful when you're working in a team that team members have their own branches. This allows people to be working concurrently in the same project and then the main developer can pick changes that they need from other people's branches and merge them into their own branch or into the trunk. Let's make sure that we're still in the correct directory by typing in pwd. As you can see, we're still in the exercise files super zombie runner. In Git, in order for us to create a new branch, we're gonna…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.