Save for Later
This guide was created with Scribe in
25 seconds.
Sign in and create your own!
How to Clone with SSH GitHub
There are multiple ways to clone a Git repo. You can use HTTPS, the GitHub CLI, or the most popular option: SSH. Follow these steps to clone a repo using SSH. Ensure you already have an SSH key and personal access token set up with GitHub.
Tyler Harz
|
0 steps
|
25 seconds
1
Navigate to the repository you want to clone.
Zoom Saved
2
Click on the green button marked "Code."
Zoom Saved
3
Select SSH from the available options and click the copy button to copy the key to your clipboard.
Zoom Saved
4
With your Terminal or command prompt open, navigate to the path where you want your Git repo to clone into.
Zoom Saved
5
Type "git clone "
6
Press [[Cmd]] + [[v]] to paste in your key.
7
Press [[Enter]]
8
Your computer will ask for your password. Once you input your password and hit enter, Git will clone the repository to your computer.
Zoom Saved
Was this Scribe helpful?
Save this document for future reference.
Save for Later
Have something to say?
Create an account to leave messages for the author to see!
Create an account
Feedback
This Scribe is in tip-top shape!
Leave feedback if there are any issues with this Scribe