in this tutorial. I'm going to show you how
to use version control when you use Mac. And, John
was using the Git hub client but I am partial
to using source tree which is another Git hub client.
And um you can actually go to the Mac
store and down with it for free source tree.
See I already have it installed. So first download
that. Okay. And then we're gonna go to
our repo right here and the unity tutorials and we're
going to double click this and we are going to
go into source tree and we're gonna click Add New Repo
I'm gonna put that in there and then we all
want to put this on my desktop, desktop.
I'm gonna call this unity tutorial. Yeah.
Okay. And we're going to clone it.
So it's going to take a second to clone.
So I pause it and I'll come back in a second.
Okay? Once it's set up it's gonna look
like this, you're gonna have that as one of
your repos. And it's a good thing to note
that before I can do anything besides check out that
I need to be given access as a collaborator to
gets up, Git hub. So make sure whoever
creates the repo that they add you or else you
won't be able to push or commit to the Git
hub repo. So the next thing we want to
do is we want to start up Unity and right
now it's going to import all of the assets that
you just downloaded. Um Now it already knows that
I'm using this Unity tutorial folder, but if not
you would have to do open project. But
since I was just working with this before we started
the tutorial up, I'll be okay. And it's
just automatically going to import all of this stuff for
me. This might take a little more time so
I'll pause it and then I'll come back. Okay
So now you can see that we started up
Unity and we have all of the files that um
that came from the repo originally, and there's not
much to it. There's this third person camera.
I'm just going to show you how to do a
commit with changes. So if you want, Click
on this 3rd person camera, so I start up
MonoDevelopment. Okay? And once it does that,
it's going to go to the third person camera,
and I'm just going to do something really simple.
I'm just going to say test change. Uh
to commit Okay? Now we're gonna want
to save that and then we can minimize this and
Unity. And when you click on, you need
tutorials, it's gonna bring up our branches that we
have. And you're going to see that I've changed
this third person camera, You can see that over
here. Change to commit. And so now that
we have that and we can see this, what
we're going to do is we're going to want to
actually commit this. So initial initial Mac commit um
with change to the third person camera. Mhm.
Okay. Now you can see that we have this,
we're gonna hit select all and then we're going
to commit. Okay? So see okay, so
what that is a staged change and we're going to
change that to selected files. Okay. So that's
up to commit. Now we can see that it
says initial matt commit. But the last thing we're
going to have to do is actually push that change.
So we're going to push that to master.
And hit Okay. And now you can see
this is the up to date with this initial change.
And just to check things, just to show
you that it's changed. On that Unity tutorials,
click on it. You can see that just now
I have made initial change. You can go to
assets and then let me see just now, scripts
changed and we have this through third person camera and
we can see that it has the test change to
commit and that's really the basic.