what is git-shell

From: $B4];3D>>;(B <masa_at_amogha.jp>
Date: Wed, 21 Jan 2026 01:51:19 UTC
$B2HDm:Z1`(BFreeBSD$B0&9%2H(B $B4];3$G$9!#(B

$B2?5$$J$/(B etc/shells $B$rGA$$$F8+$?$i!"(B git-shell $B$J$k$b$N$rH/8+$7$^$7$?!#(B
$B$3$l$I$&$$$&$b$N$J$N$G$7$g$&$+!#$4B8CN$NJ}!";HMQ7P83$,$"$kJ}!"65$($F$/$@(B
$B$5$$!#(B

maruyama@mymachine:~ % cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash
/usr/local/bin/rbash
/usr/local/libexec/git-core/git-shell
/usr/local/bin/zsh
/usr/local/bin/rzsh
maruyama@mymachine:~ % which git-shell
/usr/local/bin/git-shell
maruyama@mymachine:~ % git-shell
fatal: Interactive git shell is not enabled.
hint: ~/git-shell-commands should exist and have read and execute access.
maruyama@mymachine:~ % pkg info -l git | grep git-shell
        /usr/local/bin/git-shell
        /usr/local/libexec/git-core/git-shell
        /usr/local/share/git-core/contrib/git-shell-commands/README
        /usr/local/share/git-core/contrib/git-shell-commands/help
        /usr/local/share/git-core/contrib/git-shell-commands/list
        /usr/local/share/man/man1/git-shell.1.gz
maruyama@mymachine:~ %

--------
$B4];3(B $BD>>;(B $B$^$k$d$^(B $B$J$*$^$5(B
$B%a!<%k%"%I%l%9!'(B masa@amogha.jp