Convert usage of GIT and Git into git
[git.git] / Documentation / git-daemon.txt
1 git-daemon(1)
2 =============
3
4 NAME
5 ----
6 git-daemon - A really simple server for git repositories.
7
8 SYNOPSIS
9 --------
10 'git-daemon' [--verbose] [--syslog] [--inetd | --port=n]
11
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.
17
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.
20
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.
24
25 This is ideally suited for read-only updates, ie pulling from git repositories.
26
27 OPTIONS
28 -------
29 --inetd::
30         Have the server run as an inetd service.
31
32 --port::
33         Listen on an alternative port.
34
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.
38
39 --verbose::
40         Log details about the incoming connections and requested files.
41
42 Author
43 ------
44 Written by Linus Torvalds <torvalds@osdl.org> and YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
45
46 Documentation
47 --------------
48 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
49
50 GIT
51 ---
52 Part of the gitlink:git[7] suite
53