If you have Git repositories at GitHub you can migrate your projects to Codenvy. Since Codenvy offers a native Git support, it is possible to clone, push, pull and fetch from github.com.
SSH Key Configuration
The easiest way to configure SSH key for GitHub is to go to the Window > Preferences > SSH Keystore and press Generate Key and Upload it to GitHub button in the bottom left corner. Generated SSH key will be automatically uploaded to your GitHub account.
You can also generate key at Window > Preferences > SSH Keystore > Generate Key, using github.com hostname (without any www or https!) and manually add it to GitHub: just copy key to the clipboard, go to your GitHub account, find SSH key section and add a new key.
Clone From GitHub
Follow this steps and you will be able to import your GitHub projects to Codenvy:
- go to File > Import Project > Import From Location
- choose GITHUB as source control version. This will enable you to see the list of your GitHub repositories. Choose one of them or copy and paste the necessary repository Git URL
- modify project’s name, if appropriate, and click Import
Push to GitHub
To push changes to GitHub, you first need to add a remote repository in Codenvy at Git > Remotes > Add (unless it has been already cloned). Enter the repository name and its SSH Git URL which should look like:
Having added a remote repository, you can push to GitHub at Git > Remote > Push. The repository you’ve just added should appear in the list of remote repositories. For more info see Remote Repositories.