mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
Documentation: add git in /etc/services.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
e2b1d1ccdd
commit
f8a5da6d94
|
@ -353,6 +353,13 @@ example of managing a shared central repository.
|
|||
|
||||
Examples
|
||||
~~~~~~~~
|
||||
We assume the following in /etc/services::
|
||||
+
|
||||
------------
|
||||
$ grep 9418 /etc/services
|
||||
git 9418/tcp # Git Version Control System
|
||||
------------
|
||||
|
||||
Run git-daemon to serve /pub/scm from inetd.::
|
||||
+
|
||||
------------
|
||||
|
|
|
@ -162,6 +162,13 @@ upload-archive::
|
|||
|
||||
EXAMPLES
|
||||
--------
|
||||
We assume the following in /etc/services::
|
||||
+
|
||||
------------
|
||||
$ grep 9418 /etc/services
|
||||
git 9418/tcp # Git Version Control System
|
||||
------------
|
||||
|
||||
git-daemon as inetd server::
|
||||
To set up `git-daemon` as an inetd service that handles any
|
||||
repository under the whitelisted set of directories, /pub/foo
|
||||
|
|
Loading…
Reference in a new issue