By default, the commands above can be executed only with the -c
option; the shell is not interactive.
If a ~/git-shell-commands directory is present, git shell
can also be run interactively (with no arguments). If a help
command is present in the git-shell-commands directory, it is
run to provide the user with an overview of allowed actions. Then a
"git> " prompt is presented at which one can enter any of the
commands from the git-shell-commands directory, or exit to close
the connection.
Generally this mode is used as an administrative interface to allow
users to list repositories they have access to, create, delete, or
rename repositories, or change repository descriptions and
permissions.
If a no-interactive-login command exists, then it is run and the
interactive shell is aborted.