 Hey, what's up everybody? My name is John Hammond and welcome back to another YouTube video and tutorial In this video, I want to get started with a little bit of a repository for me to put code in and actually be able to Have it so that it's in a clean place and I'm hoping that you will be willing to do the same thing I'm gonna put all this code in BitBucket rather than Git So BitBucket is actually a little bit privately by default So if you have not already created an account with BitBucket you can go ahead and do that I think you'd be able to just enter any email addresses and actually create an account with any information So I already have an account you probably have to create like login with an email username if you create one in password That sort of thing but since I already have what it wants me to log in So I'll go ahead and log in just like that and it should show all the repositories that I already have set up I actually want to create a new one though So this is my first time. I'm kind of going in cold for this. So let's see if I can figure out how to do this Repositories create repository. Okay. That's what I want I am the owner of that. So my repository name Let's call it tutorials and it is a private repository and we'll use git to work with it We don't need any other advanced settings. I don't think so. I'm not gonna actually Set those up, but we can go ahead and create the repository and it says awesome our repository is set up Let's go ahead and put some bits in your bucket So if we don't have already have git if you don't already have kit You can go ahead and get a knit or anything that you've already had to create a path to it and Then go ahead and actually clone the repository. It looks like Let's just do that get a terminal open if you don't already have git installed you can pseudo app git install git You'll be prompted for your password. You should be able to log in just fine Let's amp that up for you And I'll create a new directory actually. I'll just clone this in the repository You can just kind of take the link and You should be able to get clone it get clone The URL cloning into tutorials it'll ask me for my username which I will give it my password Which I will also give it which I totally mistyped. That's okay. I'm gonna do that a lot in all these videos. I Think I did it again. Okay, cool. So I have clone an empty repository. That's awesome. That's exactly what we wanted We should be able to now move into that repository name as a directory And there's nothing in here other than if I LS dash a to see all the files We do have a dot git directory. So we know yes, this is actually a git repository So if I were to actually make changes fire to touch any file Now that's filed that it that file has been created. I can actually Make it a read me files. Let's move Any file into a read me md for markdown? I'll go ahead and open that up with an editor Sublime text I'll drag that down so you can see it open up in Tutorials that read me file and I can say my repository tutorials And I'll bold that The markdown syntax. I can say this is a new Repository I hope to fill with lots of things like code notes and Other stuff There really nothing there. So Hope you enjoy it and make your own repository too sweet, so we just have a really simple file and Now that that is in our repository we can add that with git add so Add the file that we want to give it we can commit those changes that we just made and The commit message for this can be really anything if you've never used git before That's okay. Ask questions, but I'm just gonna run through this if you're under the assumption blah blah blah Our first commit Save changes, I just need to control O to save control X to break out of nano and now we can push those changes I Will can of course give it my username and Password which I promise you type correctly this time. Yes. I did it sweet and Now if we go to that web page we should be able to refresh And hey it now has a read me With all of its information there And we can view the source to see what other actual files are in there like the read me But our repository is working just fine cool So that's really how we did I just created an account. I logged in as myself repositories you could create a new repository and for now We're good now that we have this setup We should be able to add more things to it and from any other location We can get pull or get clone this repository push and pull information and code back and forth and then we'll be able to work with stuff real easily and remotely Also with a good management system. So cool. Thanks for watching guys. Hope you enjoyed it real simple stuff We'll move on to cool stuff and coming tutorials by