@matheusbsbs / matheus-bagliano / commits / d43367af55
Fork 0

Documentation for git-shell

Signed-off-by: Junio C Hamano <junkio@cox.net>

Petr Baudis committed Oct 25, 2005 at 23:43 UTC d43367af55d8f67508000291b22e96c0a6b072dd
2 files changed +38
Documentation/git-shell.txt new
+35
@@ -0,0 +1,35 @@
1 +git-shell(1)
2 +============
3 +
4 +NAME
5 +----
6 +git-shell - Restricted login shell for GIT over SSH only
7 +
8 +
9 +SYNOPSIS
10 +--------
11 +'git-shell -c <command> <argument>'
12 +
13 +DESCRIPTION
14 +-----------
15 +This is meant to be used as a login shell for SSH accounts you want
16 +to restrict to GIT pull/push access only. It permits execution only
17 +of server-side GIT commands implementing the pull/push functionality.
18 +The commands can be executed only by the '-c' option; the shell is not
19 +interactive.
20 +
21 +Currently, only the `git-receive-pack` and `git-upload-pack` commands
22 +are permitted to be called, with a single required argument.
23 +
24 +Author
25 +------
26 +Written by Linus Torvalds <torvalds@osdl.org>
27 +
28 +Documentation
29 +--------------
30 +Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
31 +
32 +GIT
33 +---
34 +Part of the gitlink:git[7] suite
35 +
Documentation/git.txt
+3
@@ -182,6 +182,9 @@ gitlink:git-receive-pack[1]::
182 gitlink:git-send-pack[1]::
183 Pushes to a remote repository, intelligently.
184
185 +gitlink:git-shell[1]::
186 + Restricted shell for GIT-only SSH access.
187 +
188 gitlink:git-ssh-fetch[1]::
189 Pulls from a remote repository over ssh connection
190 Previously this command was known as git-ssh-pull.