Code

GIT 0.99.8g
[git.git] / Documentation / git-daemon.txt
1 git-daemon(1)
2 =============
4 NAME
5 ----
6 git-daemon - A really simple server for GIT repositories.
8 SYNOPSIS
9 --------
10 'git-daemon' [--verbose] [--syslog] [--inetd | --port=n]
12 DESCRIPTION
13 -----------
14 A really simple TCP git daemon that normally listens on port "DEFAULT_GIT_PORT"
15 aka 9418. It waits for a connection, and will just execute "git-upload-pack"
16 when it gets one.
18 It's careful in that there's a magic request-line that gives the command and
19 what directory to upload, and it verifies that the directory is ok.
21 It verifies that the directory has the magic file "git-daemon-export-ok", and
22 it will refuse to export any git directory that hasn't explicitly been marked
23 for export this way.
25 This is ideally suited for read-only updates, ie pulling from git repositories.
27 OPTIONS
28 -------
29 --inetd::
30         Have the server run as an inetd service.
32 --port::
33         Listen on an alternative port.
35 --syslog::
36         Log to syslog instead of stderr. Note that this option does not imply
37         --verbose, thus by default only error conditions will be logged.
39 --verbose::
40         Log details about the incoming connections and requested files.
42 Author
43 ------
44 Written by Linus Torvalds <torvalds@osdl.org> and YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
46 Documentation
47 --------------
48 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
50 GIT
51 ---
52 Part of the gitlink:git[7] suite