Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 946 Bytes

git_clone.md

File metadata and controls

21 lines (11 loc) · 946 Bytes

Back

Clone a Git repository

"Cloning" a repository copies what's on Github to your computer.

Find your repository SSH url

The SSH ("Secure Shell") url is what you will use to clone your repository with git.

You can find it at the bottom of the left sidebar on your repository page on Github.

Clone a repo

Clone it!

  1. Open your terminal

  2. Change to the directory where you will keep your code repository folder

    cd dbc/phase_0/

    I highly recommend that you keep your code organized into folders based on phase, unit, and week. The website you are creating, however, we will be using throughout Phase 0.

  3. Clone your repository

    git clone [SSH URL]

    For your Github Pages website, it would be:

    git clone [email protected]:[USERNAME]/[USERNAME].github.io.git