Goal
Connect Cloud IDE to a non-Acquia Git repository.
Prerequisites
-
Access to Cloud IDE
Overview
When you pull your application into Acquia Cloud IDE, we automatically copy your Acquia-hosted codebase, database and files from the Acquia Cloud Platform (via the Cloud Platform API) so that you can start developing Drupal right away.
And of course, you can easily connect your Cloud IDE to Acquia Code Studio with just a few extra commands.
But what if you have a different developer workflow? If you use GitHub, GitLab or Bitbucket, or even another third part source code management service, we’ve got you covered. Setup is straight forward. By simply using Git and SSH, you can quickly set up a connection to any source code management service, and Acquia CLI will make it easy.
-
Pulling a non-Acquia hosted Git repository into Cloud IDE
Connecting Cloud IDE to a non-Acquia hosted Git repository is easy. But before you can pull your code, Cloud IDE must be granted the permissions to connect to the remote server, so operations remain secure at all times.
At a high level this is how it works:
- Generate an SSH key in Cloud IDE.
- Configure your code management tool by adding the public half of your new SSH key.
- Clone your non-Acquia hosted repository into Cloud IDE.
-
Generate an SSH key in Cloud IDE
If you're using a brand new Cloud IDE, first complete the "Get Started" instructions. Click on the button. This opens up a Terminal window and automatically creates and uploads an SSH key that is associated with your Acquia Cloud Platform account.