Clone

This article will tell you how to clone a remote repository on Buddy to your local dev environment.

Connecting over HTTPS

  1. Go to the Code tab and click the Clone button in the right column.

    Clone button location

  2. Switch the tab to HTTPS and click the clipboard to copy the link.

    Connection over HTTPS

  3. Paste the link in the terminal and use your Buddy email address and password to authorize access.

On certain interactions with the repo, such as git push or git pull, Git will ask you for your Buddy email and password. You can use a credential helper to remember your credentials. You can manage email and password in your ID settings.

The main advantage of HTTPS is that it'll work even if you're behind a firewall or proxy.

Connecting over SSH

SSH is a secure protocol that allows trusted computers to communicate without involving passwords – a popular method with improved security over HTTPS.

  1. Go to the Code tab and click the Clone button in the right column.

    Clone button location

  2. Switch the tab to SSH and click the clipboard to copy the link.

    Connection over SSH

  3. Paste the link in the terminal. The authorization will be performed over your SSH keys.

You can manage your SSH keys in your ID settings.