Cloning, Staging, and Committing
Learn how a repository can be cloned and the process of staging and committing the code.
We'll cover the following...
Cloning the repository
To begin adding and editing code related to this repo, you’ll now have to clone the repo. Cloning copies the entire GitHub repo to your local development environment.
To clone the GitHub repo to your local environment:
-
Navigate to the NoBSautomation repository (or whatever name you called the repo earlier).
-
Click the green Clone or download button. You will then be presented with two options: an HTTPS URL to copy and clone with and a Use SSH link to show the SSH to copy and clone with.
-
Let’s use the Clone with HTTPS option. This is the URL you will use to manually clone the repo via the local Git client.
-
Open a command prompt or PowerShell terminal as an administrator. The project will be cloning the GitHub repo to the desktop of the logged-in user (Michael), which ...