Re: what is git-shell

From: Kenichi Okuyama <kenichi.okuyama_at_gmail.com>
Date: Wed, 21 Jan 2026 01:58:10 UTC
これですかね?

https://git-scm.com/docs/git-shell

奥山 健一(Kenichi Okuyama)


2026年1月21日(水) 10:51 丸山直昌 <masa@amogha.jp>:

> 家庭菜園FreeBSD愛好家 丸山です。
>
> 何気なく etc/shells を覗いて見たら、 git-shell なるものを発見しました。
> これどういうものなのでしょうか。ご存知の方、使用経験がある方、教えてくだ
> さい。
>
> 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:~ %
>
> --------
> 丸山 直昌 まるやま なおまさ
> メールアドレス: masa@amogha.jp
>
>