git - How can I push changes directly from Cloud9 IDE to Heroku? -


I am a non-technical trainee at a place where I can not use my normal laptop, and my Have enough free time I am learning how to program, and I want to be able to use the cloud-based development environment completely, because I can not install anything on the computer, in which I have access to it.

I signed up for the Cloud 9 IDE, it was added to my GithHub account, and a repo was cloned, in which I am working on the Sinatra project. The problem is, I do not know how to push the changes made in Heeraqok in the clouds. Actually I'm flying blind if I was on my laptop, I would just like to come to the terminal, I will reduce my changes, and git will suppress its master master at work, this is an option Not because I'm not developing anything locally. Claude 9 has a console installed in GIT, so I tried to install RubyGommas by running git clone https://github.com/rubygems/rubygems.git , so I installed Heroko Mani I could, but I understand how to open / install it.

Am I on the right track? Any suggestions about how to be fully developed in the cloud?

First of all, you must add a remote Github repo:

  Git Remote Add Original git@github.com: Username / yourapp.git git push Original owner   

You might then get: "Permission denied (Publisher)".

You have to tell the gitb about the SSH key, which is using the cloud-9 id. You can see your ssh key on the cloud 9 dashboard by clicking on 'Show your SSH' link.

Click the Copy button to copy your SSH key to the clipboard. Now, go to github.com Login and click on Account Settings, select the 'SSH Public Key' option and 'Add another public key' to save your changes. Now you are going and you can proceed with your Cloud 9 repo.

Comments