By antonpegov
Hi everyone! Today I findout that my ‘git push remote master’ command from Cloud9 IDE can’t connect to Digital Ocean anymore. SSH access still works fine, ‘git push’ to BitBucket - also ok. One week ago everything worked fine and I didn’t chaged anything! Any idea why that culd happened?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I would suggest removing and re-adding the remote through Cloud9. a git push should just be using your SSH, so if that works, it’s hard to say why it suddenly stopped working.
You can remove the remote with
git remote rm origin
git remote add origin user@droplet.ip:/path/to/repo
The sections marked in red should be changed to whatever you want to call your remote repo origin and the user, droplet ip(or hostname) and the path to the repository. Can you give this a try?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.