Integration With CloudForge

CloudForge offers Git hosting among other services, like bug tracking, file sharing, deployment, integration with third party services. For Codenvy users, it means that it is easy to import CloudForge repositories to Codenvy, collaborate on them and push changes back to CloudForge.

Configure SSH Keys

First off, it is necessary to configure SSH keys:

  • go to Window > Preferences > SSH Keys and press Generate Key button. Enter hostname as:
[YourCloudForgeDomainName].git.cloudforge.com, for example codenvy.git.cloudforge.com 

(no www or https!) and click OK

  • the key will appear in the list of SSH keys. Click View and copy the key to clipboard. Make sure you’ve selected and copied the entire key text
  • go to My Settings in your CloudForge profile and find Keys menu
  • add a new key

Clone From CloudForge

The easiest way to migrate your projects to Codenvy is to clone CloudForge repository with the project’s source code:

  • go to File > Import Project > Import From Location
  • copy and paste the repository Git URL
  • modify project’s name, if appropriate, and click Import

Push to CloudForge

To push to CloudForge, you first need to add a remote repository in Codenvy at Git> Remotes > Add (unless it is already there after cloning). Enter the repository name and its SSH Git URL which should look like:

ssh://git_codenvy@codenvy.git.cloudforge.com/test2.git

Having added a remote repository, you can push to CloudForge at Git > Remote > Push. The repository you have just added should appear in the list of remote repositories. For more info see Remote Repositories.