git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation for git-shell

From
Petr Baudis <pasky@suse.cz>
Date
Oct 25, 2005, 09:09 UTC
Message-ID
<20051025090937.15206.50609.stgit@machine.or.cz>
This adds some simple documentation for git-shell.
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
 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
+
Next: Petr Baudis
Message 1 of 3 in “Documentation for git-shell”
  1. Documentation for git-shellPetr Baudis, Oct 25, 2005
  2. Petr BaudisOct 25, 2005
  3. Add some missing commands to the git.txt commands listPetr Baudis, Oct 25, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.