DORMANTno replies

[PATCH] Documentation for git-shell

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:09
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

This adds some simple documentation for git-shell.

Signed-off-by: Petr Baudis <redacted>
---

 Documentation/git-shell.txt |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-shell.txt b/Documentation/git-shell.txt
new file mode 100644
index 0000000..dfdfbf6
--- /dev/null
+++ b/Documentation/git-shell.txt
@@ -0,0 +1,32 @@
+git-shell(1)
+============
+
+NAME
+----
+git-shell - Restricted login shell for GIT over SSH only
+
+
+SYNOPSIS
+--------
+'git-shell -c <command> <argument>'
+
+DESCRIPTION
+-----------
+This is meant to be used as a login shell for SSH accounts you want
+to restrict to GIT pull/push access only. It permits execution only
+of two commands (`git-receive-pack` and `git-upload-pack`) with
+a single argument. The commands can be executed only by the '-c'
+option; the shell is not interactive.
+
+Author
+------
+Written by Linus Torvalds <torvalds@osdl.org>
+
+Documentation
+--------------
+Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
+
+GIT
+---
+Part of the gitlink:git[7] suite
+
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help