2024/02/13 22:13:39

git で https プロトコルで clone できない場合

[git]

git clone https

git で https プロトコルで clone しようとした場合に、fatal: Unable to find remote helper for 'https' というエラーに出くわすことがある。

# git clone https://github.com/some/repos
Cloning into 'repos'...
fatal: Unable to find remote helper for 'https'

これは、https を利用するためのライブラリが不足している。

git をソースからビルドした場合は、以下のライブラリを追加して、リビルドが必要。

# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel

see also

サイト内検索