I
I
IFK2014-06-03 17:42:35
git
IFK, 2014-06-03 17:42:35

How to connect to a GIT repository on your own server?

I tried different GIT clients, but I didn’t find any settings for specifying the server, by default everyone connects to github.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-06-03
@IFK

Git can work over SSH.
Just make an entry about the server in .ssh/config, put your keys (ssh-copy-id) on it.
Connect to the server:
git clone ssh://myserver/~/path/to/remote_dir

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question