GitHub repo downloads

less than 1 minute read


SSH & HTTPS of GitHub repo

GitHub repo downloads


Just copy the repo’s link and type it in the command line

git clone


  • Before the following, you can back-up your ssh key before.
    • For windows users, go to C:\users\xxx\.ssh\, then input cp id_rsa id_rsa.bak and cp
  • Open the command line and input

    ssh-keygen -t rsa -C

    Here is your GitHub email account. Then press the Enter, and you will successfully create the public key.

  • Open the GitHub, go to settings -> SSH -> new SSH key. Input the title (whatever, it doesn’t matter), and put all the contents in the into the box.

  • Then clone the repo by git clone