posted this on December 07, 2011 15:07
In this article, I will explain the steps you have to take to push a Cloud9 IDE project to a source code hosting site like Bitbucket. For this article, I'm assuming that you have created a git project in Cloud9. Let's see how you can push this project to Bitbucket.
First, if you haven't done so already, create a Bitbucket account. Then, follow these steps:
Go to your Cloud9 dashboard. Click on Your Account and, under Account Settings, click on Show your SSH key and copy the key..
Create a git repository on Bitbucket. At the top, you will see: "Clone this repository (size: ... bytes): HTTPS/SSH". Click on SSH. Then, underneath it will show a URL of the form firstname.lastname@example.org:username/reponame.git. Copy this URL.
Go to your Cloud9 project. If you created it as a git project, git is already setup. If you haven't already, commit any changes using the console:
git add .
git commit -a -m "My first commit"
Then, add a new remote repository from the Cloud9 console: