Start a Project

When creating a repository using the Visual Studio extension there might be some confusion on how to get your repository on GitHub.com.

Started Locally

If you create the repository locally, follow these steps:

  1. Create the repository using the Visual Studio extension.
  2. Navigate to GitHub.com and login to your account.
  3. Click the New repository button.
  4. Enter a name for your repository in the Repository name field. Select Public or Private to determine who can see your repository.
  5. DO NOT CLICK Initialize this repository with a README checkbox.
  6. [Optional] Select a .gitignore or license for your project.
  7. Click Create repository.
  8. Use the instructions found under the …or push an existing repository from the command line to push your local project to your GitHub.com repository.

Alternate Starting Locally instructions

  1. Open the Github Extension by selecting View > Other Windows > GitHub.
  2. You may be able to select Push to GitHub unless your project isn’t added to source control. If you need to add source control select: Project > Add to Source control.
  3. In the GitHub window, click the green Get Started button to publish your code.
  4. Make sure the name and description match your project. Additionally you can select if you would like to make the repository private.

Started Online

If you create the repository online, follow these steps:

  1. Follow the steps to create a repository as defined above.
  2. Click Initialize this repository with a README checkbox.
  3. Click Create repository.
  4. Use the Quick setup instructions to clone your repository to your machine.
Stuck? Open an issue in the repository for this class and mention @githubteacher for help from one of the GitHub trainers!
Continue