git-archive: work in bare repos
[git/dscho.git] / Documentation / git-shell.txt
blobff420f8f8c52eb598976a134916000da9b8f3976
1 git-shell(1)
2 ============
4 NAME
5 ----
6 git-shell - Restricted login shell for GIT-only SSH access
9 SYNOPSIS
10 --------
11 '$(git --exec-path)/git-shell' -c <command> <argument>
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.
21 Currently, only the 'git-receive-pack' and 'git-upload-pack' commands
22 are permitted to be called, with a single required argument.
24 Author
25 ------
26 Written by Linus Torvalds <torvalds@osdl.org>
28 Documentation
29 --------------
30 Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
32 GIT
33 ---
34 Part of the linkgit:git[1] suite