You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will need to install git to use it on your computer. If you are not sure whether you have git installed or not, you can check using the git command that shows/checks the version number of git, if installed on your computer. Open up your terminal and type:
git --version
If the git version number is displayed, you have git installed. If you get a response that shows you don't have git installed, then go to git how to and follow the instructions to download git for your Operating System - whether its Linux, Mac, or Windows.
If you still have any issues after installing Git, get support from our community on gitter, and we'll be available to assist you.
Git Config
Now that you have git installed, click on the start button in the git how to resource. It will take you to the preparation page. Follow the instructions to set up your name, email and Installation Options line endings. That's you need from the git how to material, for now. After completing the Git and GitHub for collaboration course, you can decide to continue with other pages in the git how to tutorial.
Local Git Options
On to options for working with git on your local computer (for existing repos on GitHub). If you go to the git-github-training repo or any repo on GitHub, you will see a green button that has the word "code" written on it. Click on it to see the options under the local tab: You can clone the repo through the command line (using the HTTPS url, SSH url, or with the GitHub CLI). You can also opt to use the GitHub desktop or even choose to download the repo as a zip file.
I will only discuss the use of the command line with HTTPS and SSH urls. After completing the Git and GitHub for collaboration course, you can decide to explore the other options.
HTTPS and SSH urls
HTTPS and SSH are the ways you can access the content of repositories hosted on GitHub, from the command line.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Page 1: Local Git Setup
Installing Git
You will need to install git to use it on your computer. If you are not sure whether you have git installed or not, you can check using the git command that shows/checks the version number of git, if installed on your computer. Open up your terminal and type:
If the git version number is displayed, you have git installed. If you get a response that shows you don't have git installed, then go to git how to and follow the instructions to download git for your Operating System - whether its Linux, Mac, or Windows.
If you still have any issues after installing Git, get support from our community on gitter, and we'll be available to assist you.
Git Config
Now that you have git installed, click on the start button in the git how to resource. It will take you to the preparation page. Follow the instructions to set up your name, email and Installation Options line endings. That's you need from the git how to material, for now. After completing the Git and GitHub for collaboration course, you can decide to continue with other pages in the git how to tutorial.
Local Git Options
On to options for working with git on your local computer (for existing repos on GitHub). If you go to the git-github-training repo or any repo on GitHub, you will see a green button that has the word "code" written on it. Click on it to see the options under the local tab: You can clone the repo through the command line (using the HTTPS url, SSH url, or with the GitHub CLI). You can also opt to use the GitHub desktop or even choose to download the repo as a zip file.
I will only discuss the use of the command line with HTTPS and SSH urls. After completing the Git and GitHub for collaboration course, you can decide to explore the other options.
HTTPS and SSH urls
HTTPS and SSH are the ways you can access the content of repositories hosted on GitHub, from the command line.
Beta Was this translation helpful? Give feedback.
All reactions