Git /

Repository

Sophia host gitdaemon provides unauthenticated, read-only access to git repositories via the native protocol on port 9418 and gitolite authenticated read/write access to git repositories via SSH. It manages user public keys and enforces fine-grained access control lists for both private and public repositories.

Clone public

To clone doc public repository;

$ git clone git://git.sophia.host/doc

Clone private

Setup ssh? client side and keys, add following to your ~/.ssh/config, in this example we will call host sophia and alice as key name (user);

Host sophia
     Hostname git.sophia.host
     Port 1337
     User gitolite
     IdentityFile ~/.ssh/alice

Add new remote;

$ git remote add private sophia:doc.git
$ git fetch --all

Clone;

$ git clone sophia:doc