How to configure configure git when there are multiples sites running in a droplet?
I've followed the git tutorials and the multiple-sites-in-1-droplet tutorial from DigitalOCean and now my sites are in var/www/site1 var/www/site2 Then I'm assuming I need to create my git repos inside these folders And when these git repos are created, how can I make a push from my laptop to these repos? I guess is something like this (in my laptop git console): git remote add origin ssh://firstname.lastname@example.org/var/www/site1.git But I got a "Connect to host port 22 refused. The remote end hung up." Where 199.99.999.999 is my websites IP. I don't use a domain name, because I have multiple sites and the DNS are not already set until I finish a hosting transition. What am I doing wrong? Thanks a lot.