Daniela Gavidia
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:
.
Your project is now pushed to bitbucket.
Comments
I think I followed these directions accurately but only one file of the project made it to bitbucket
It is possible that "git add ." took a bit longer than expected and thus all your files weren't transferred. Be sure to wait a few seconds for git add . to complete (you can type `git status` into the console to see if your files were added). Then pushing will work as you expect.
I was getting an error when trying git commit -m "Initial commit". To make it work I had to escape the space character like that:
git commit -m "Initial\ commit".
Hope that helps.
I walked through these steps and it showed up a prompt asking for password ... what should I do?
Never mind, my SSH Ket was not set. All set now !