You can clone any of your Divio Cloud projects by running the following command:

git clone git@git.divio.com:<project-slug>

You can find the project slug in the Local development section of your Control Panel; it is the last argument in the divio setup command under "Setup and initialise your project locally".

Note that you need to have your SSH Key added to your current machine, if not, you will need to add it through the SSH Keys section in your Account Settings, on the Control Panel.

We suggest to setup an URL alias for git by adding the following lines to the end of your ~/.gitconfig file:

[url "git@git.divio.com:"]
        insteadOf = divio:

Now you can clone any project by simply running:

git clone divio:<project-slug>
Did this answer your question?