Documentation / git-shell.txton commit refactor userdiff textconv code (04427ac)
   1git-shell(1)
   2============
   3
   4NAME
   5----
   6git-shell - Restricted login shell for GIT-only SSH access
   7
   8
   9SYNOPSIS
  10--------
  11'$(git --exec-path)/git-shell' -c <command> <argument>
  12
  13DESCRIPTION
  14-----------
  15This is meant to be used as a login shell for SSH accounts you want
  16to restrict to GIT pull/push access only. It permits execution only
  17of server-side GIT commands implementing the pull/push functionality.
  18The commands can be executed only by the '-c' option; the shell is not
  19interactive.
  20
  21Currently, only the 'git-receive-pack' and 'git-upload-pack' commands
  22are permitted to be called, with a single required argument.
  23
  24Author
  25------
  26Written by Linus Torvalds <torvalds@osdl.org>
  27
  28Documentation
  29--------------
  30Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
  31
  32GIT
  33---
  34Part of the linkgit:git[1] suite