Chapter 6. Hosting Services and Authentication

[ 6 ]

Hosting Services and Authentication

In the last chapter, you learned about merging and how this feature of Git allows you to integrate changes from one branch into another.

Up until this point we have discussed working only in local repositories, and you have worked only on the rainbow repository, which is a local repository. This chapter marks the start of the second part of this book, in which you will work with hosting services and remote repositories.

In this chapter, you will choose a hosting service and prepare the authentication details you will use to connect to remote repositories on that hosting service by using either the HTTPS (Hypertext Transfer Protocol Secure) or SSH (Secure Shell) protocol. The information that you will need to carry out these tasks is contained in this chapter as well as in the resources in the Learning Git repository (https://github.com/gitlearningjourney/learning-git).

[ Note ]

If you work at a company that uses Git and a hosting service, you may already have a hosting service account using your company email address. However, I recommend using a personal account with a hosting service for the exercises in this book instead of a company account. This is because your company may have configured additional settings on the company hosting service account that could complicate exercises later in the book.

If you already work with a hosting service that you want to ...

Get Learning Git now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.