Using Git repositories with Cloud 66

Public repositories

For public Git repositories, you don’t need to add the SSH key provided to your Git account. You simply need to provide the Git URL as either

http://<git provider>/<username>/<repository>.git

or

git://<git provider>/<username>/<repository>.git

This URL is often automatically generated by your Git provider.

Notice

We only support https:// for GitHub repos. For other providers please use http:// or git://

Private repositories

For Cloud 66 to access your private repositories (with read-only access), you first need to add the SSH key provided by Cloud 66 to your account with your git provider. To find this key:

  1. Open your Dashboard
  2. Click on your account avatar (top-right) and select Account Settings
  3. Click on Git Repo SSH Keys in the Settings panel on the left
  4. Copy the Git public SSH Key and add it to your Git repo provider

You can add this SSH key globally to your git provider by adding it to your Account settings, or allow access to a specific repository by adding it to that repository as a deploy key.

Once this is done, use a Git URL in the following format:

git@<git provider>:<username>/<repository>.git

GitHub example

Adding the SSH key globally

To add the SSH key globally:

Once this is done, use a Git URL in the following format in the Cloud 66 UI:

git@github.com:<username>/<repository>.git

Adding the SSH key to a specific repository

Once this is done, use a Git URL in the following format in the Cloud 66 UI:

git@github.com:<username>/<repository>.git

BitBucket example

Adding the SSH key globally

To add the SSH key globally:

Once this is done, use a Git URL in the following format in the Cloud 66 UI:

git@bitbucket.org:<username>/<repository>.git

Adding the SSH key to a specific repository

To add the SSH key to a specific repository:

Once this is done, use a Git URL in the following format in the Cloud 66 UI:

git@bitbucket.org:<username>/<repository>.git