Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
strauss_d_getting_started_with_visual_studio_2022_learning_a.pdf
Скачиваний:
26
Добавлен:
26.06.2023
Размер:
17.04 Mб
Скачать

Chapter 5 Source Control

Create a GitHub Account

Let’s start off with creating a GitHub account. Point your browser to www.github.com, as shown in Figure 5-1, and create an account by clicking the signup button.

Figure 5-1.  Sign up for GitHub

Enter a username (Figure 5-1), email address, and password. GitHub then checks your password to verify that it does not appear on a list of known compromised passwords. If all checks out, a confirmation code is sent to your email address. After verifying your email address, GitHub will take you through a short personalization process before finally offering you an option to sign up for the Team account or continuing with the free account.

After entering your details, you will be taken to your dashboard. You can continue using the free account, but there is also the option to upgrade to a Pro account. The free subscription offers the basics suitable for most developers, while the pro subscription offers several more features. The free subscription is very generous and will appeal to most developers. The free subscription includes the following, among others:

246

 

Chapter 5 Source Control

•\

Unlimited public and private repositories

•\

Three collaborators for private repositories

•\

Issues

•\

Project tables and boards

•\

Pages and wikis for public repos

•\

GitHub Actions (2000 minutes/month) or free for public repos

The pro subscription, on the other hand, offers more which includes

•\

Unlimited public and private repositories

•\

Unlimited collaborators

•\

Issues

•\

Project tables and boards

•\

Repository insights

•\

Automatic code review assignment

•\

GitHub Actions (3000 minutes/month) or free for public repos

GitHub Team on the other hand allows a team of developers to collaborate on projects, and GitHub bills for GitHub Team on a per-user basis.

For more info on all GitHub’s products, browse to the following URL: https://docs.github.com/en/get-started/learning-about-github/ githubs-products.

After creating your account on GitHub, you will be sent a welcome email with additional information and links to get you started. GitHub uses repositories to store your code, and you would create a repository for each project you want to work on. Clicking the Create repository button will take you to the Create a new repository page. If not, you can access your repositories from the menu under your profile image. This will take you to your repositories page from where you can create your first repository as seen in Figure 5-2.

247