mirror of
https://github.com/git/git.git
synced 2024-11-09 02:33:11 +01:00
54baefda8c
Provide a 'list' command to view available bare repositories ending in .git and a 'help command to display usage. Also add documentation in a README Signed-off-by: Greg Brockman <gdb@mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
18 lines
839 B
Text
18 lines
839 B
Text
Sample programs callable through git-shell. Place a directory named
|
|
'git-shell-commands' in the home directory of a user whose shell is
|
|
git-shell. Then anyone logging in as that user will be able to run
|
|
executables in the 'git-shell-commands' directory.
|
|
|
|
Provided commands:
|
|
|
|
help: Prints out the names of available commands. When run
|
|
interactively, git-shell will automatically run 'help' on startup,
|
|
provided it exists.
|
|
|
|
list: Displays any bare repository whose name ends with ".git" under
|
|
user's home directory. No other git repositories are visible,
|
|
although they might be clonable through git-shell. 'list' is designed
|
|
to minimize the number of calls to git that must be made in finding
|
|
available repositories; if your setup has additional repositories that
|
|
should be user-discoverable, you may wish to modify 'list'
|
|
accordingly.
|