]>
Commit | Line | Data |
---|---|---|
7fc9d69f JH |
1 | git-daemon(1) |
2 | ============= | |
3 | ||
4 | NAME | |
5 | ---- | |
62cd033d | 6 | git-daemon - A really simple server for GIT repositories. |
7fc9d69f JH |
7 | |
8 | SYNOPSIS | |
9 | -------- | |
9048fe1c | 10 | 'git-daemon' [--verbose] [--syslog] [--inetd | --port=n] |
7fc9d69f JH |
11 | |
12 | DESCRIPTION | |
13 | ----------- | |
62cd033d LAS |
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. | |
7fc9d69f | 20 | |
62cd033d LAS |
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. | |
7fc9d69f JH |
26 | |
27 | OPTIONS | |
28 | ------- | |
62cd033d LAS |
29 | --inetd:: |
30 | Have the server run as an inetd service. | |
7fc9d69f | 31 | |
62cd033d LAS |
32 | --port:: |
33 | Listen on an alternative port. | |
7fc9d69f | 34 | |
9048fe1c PB |
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 | ||
b5cf3c8b PB |
39 | --verbose:: |
40 | Log details about the incoming connections and requested files. | |
41 | ||
7fc9d69f JH |
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 | --- | |
a7154e91 | 52 | Part of the gitlink:git[7] suite |
7fc9d69f | 53 |