目录 一、问题描述二、解决方法 一、问题描述 CentOS 7 下执行 git clone http://xxxx 命令时报错,Git 版本为 2.35.1 : git: 'remote-http' is not a git command. See 'git --help' 二、解决方法 安装 libcurl-devel、curl-devel ,然后重新编译 git : yum install libcurl-devel yum install curl-devel 注意:重要的事情说三遍,安装后重新编译 git !