Pierre
Pierre

Reputation: 11633

Git hosted on my server + client

I'm new to git. I created a repo on my server. So I have : http://mysubdomainforgit.mydomain.com/example.git

I downloaded Versions for Mac and now I would like to connect to my git. But I don't know what to fill for location (they say something like svn+ssh://host/location).

Thanks for your help !

Upvotes: 2

Views: 165

Answers (1)

VonC
VonC

Reputation: 1324606

This tutorial points out:

For example, if your site were example.com, you would connect as follows:

ssh [email protected]@example.com

The domain "example.com" is in there twice:

  • first because it’s part of your full username, and
  • second to point SSH at the right server.

(If your SSH client complains about not being able to connect, you can try replacing the first @ sign with its encoded version, “%25″.)

So, in your case, you could try:

ssh://serveradmin%[email protected]/home/00000/domains/git.example.com/htm‌​l/example.git

Upvotes: 1

Related Questions