git - setup new droplet as a remote for existing rails repository

August 15, 2015 2.7k views
Ruby on Rails One-Click Install Apps Git

I have an existing rails/git project that I've been using with both git and heroku remotes. I want to setup a remote for my new droplet to use instead of the heroku one. I'm trying to find the URL to create the remote:

git remote add docean ssh:// ... ?

and the instructions to setup the Ubuntu/Rails instance in the droplet to be that remote.

1 Answer

You can use the format:

git remote add docean user@

You do not need to specify "ssh://" provided that you define the user @ host.

Have another answer? Share your knowledge.