File: git-daemon-sysvinit.README.Debian

package info (click to toggle)
git 1%3A1.7.10.4-1%2Bwheezy3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 22,468 kB
  • sloc: ansic: 131,677; sh: 101,927; perl: 25,746; tcl: 20,816; python: 4,441; makefile: 3,418; lisp: 1,785; asm: 98
file content (31 lines) | stat: -rw-r--r-- 948 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
git-daemon-sysvinit for Debian
------------------------------

This package enables a git-daemon service.  This allows people to use a
git:// URL to access your repositories.

After installing this package, the daemon needs to be enabled in
/etc/default/git-daemon by setting:

  GIT_DAEMON_ENABLE=false

to:

  GIT_DAEMON_ENABLE=true

After that, the git daemon can be started with:

  # /etc/init.d/git-daemon start

The git daemon by default looks into the directory /var/cache/git/ for
repositories (this is configured in /etc/default/git-daemon).  It expects
the repositories' .git subdirectories in that directory, symlinks
pointing to the corresponding subdirectories in the repositories are just
fine, e.g.:

 ln -s ~daniel/git/foo/.git /var/cache/git/foo.git

This makes 'git-clone git://git.example.org/git/foo' to clone the foo
repository on remote machines work.

 -- Daniel Baumann <daniel@debian.org>  Tue, 19 Oct 2010 00:54:58 +0200