Question

initial git setup on the droplet

Posted April 27, 2014 5.7k views
Hello, I created a new droplet (ubuntu ghost), and tried the following strategy to copy my local ghost blog (node.js app): git remote -v production root@my.ip.address:droplet-name (fetch) production root@my.ip.address:droplet-name (push) git push -u production master fatal: Could not read from remote repository I am wondering if something like this is supported right after creating of the droplet, or would I need to setup git on my droplet?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
Pushing git repositories isn't setup out of the box on the Ghost droplet, but it's pretty simple to accomplish. Check out this tutorial:

https://digitalocean.com/community/articles/how-to-set-up-automatic-deployment-with-git-with-a-vps

Let us know how it goes! If you have any issues, don't hesitate to ask.
by Caio Vaccaro
This article will teach you how to use Git when you want to deploy your application. While there are many ways to use Git to deploy our application, we'll focus on the one that is most straightforward.
Submit an Answer