Showing posts with label git deamon. Show all posts
Showing posts with label git deamon. Show all posts

Wednesday, February 12, 2014

Git protocol on server and client side

This is an advanced tutorial for experienced users that are familiar with git, SSH protocols and shell scripts.
 
On server side

[user@test_server ~]$ git daemon --base-path=/var/www/html --reuseaddr  --export-all --verbose --enable=receive-pack 

Do not close the terminal on server.
 --base-path=/var/www/html is path to your repository.