$ cd /code/test/repo
$ touch .git/git-daemon-export-ok
$ git daemon --base-path=/code --enable=receive-pack &
$ git clone git://localhost/test/repo
Have an update or suggestion for this note? You can edit it and send me a pull request.
Since 2009 to 2024