Creating a GitHub Repo2:58 with James Churchill
Let’s create a GitHub repo for our project.
If you’re new to Git or GitHub, check out this course, which will give you an introduction to the Git version control system.
If you’re familiar with Git and GitHub, but are new to Visual Studio’s integration with GitHub, this workshop will get you up and running.
Welcome back. 0:00 In this course, we'll be using GitHub as a central repository for our project. 0:01 As we build out our comic book gallery website, 0:06 GitHub will also allow us to track the changes that we make to our code. 0:09 In this video, we'll create a GitHub repo for our project. 0:14 Don't worry if you aren't familiar with this process. 0:18 To be clear, using GitHub or 0:21 another source control system is not required to follow along with this course. 0:23 If you want, ahead and 0:29 skip ahead to the next video where we'll create our project in Visual Studio. 0:31 That being said, using source control is a daily part of almost 0:36 every developer's routine, so it would be a great thing to learn. 0:41 See the teacher's notes for a list the Treehouse courses and 0:45 workshops on Git and GitHub. 0:48 Here's my profile page on github.com. 0:51 We can click here on the Repositories tab to see a list of my repos. 0:54 Click on the New button to create a repo. 1:00 Let's name the repo comic-book-gallery. 1:03 We'll keep this a public repo so that anyone can find it on GitHub. 1:07 Check the box to initialize this repo with a readme file. 1:12 Providing a readme file is a great way to share general information about your 1:16 project. 1:21 Lastly, let's add a gitignore file for Visual Studio. 1:22 Then let's finish up by clicking the Create Repository button. 1:27 Now let's clone our repo to our local computer. 1:32 There are a number of ways to do this. 1:36 I'm going to use the GitHub extension for Visual Studio. 1:39 But you can use whichever method you're comfortable with. 1:42 Let's switch to the Team Explorer panel and 1:45 click the little plug icon to manage our connections. 1:48 To give myself more room, 1:51 I'm going to collapse the Properties panel by clicking the pin icon. 1:53 Now we can see the list of available source control providers. 1:57 If you don't see GitHub listed here, 2:01 you'll need to install the GitHub extension for Visual Studio. 2:03 See the teacher's notes for 2:06 a link to a Treehouse workshop that will walk you through that process. 2:07 In the GitHub section we can see Clone, Create and Sign out links. 2:12 That tells us that I'm already connected to my GitHub account. 2:18 If you aren't signed in, you'll see a Connect link instead. 2:22 If you need to, go ahead and pause the video and sign in now. 2:25 Okay let's clone our repo. 2:30 Click the Clone link, which will open up 2:32 a dialog displaying a list of remote repos that my account has access to. 2:35 Let's search for our repo using the field here at the top of the dialog. 2:40 Here it is. 2:44 Go ahead and click on it to select it, and 2:46 then click the Clone button at the bottom of the dialog. 2:48 Great, now that we've cloned our repo, 2:52 we're ready to create our project, which is what we'll do in the next video. 2:54
You need to sign up for Treehouse in order to download course files.Sign up