git报错 ‘remote-http‘ is not a git command. See ‘git --help‘

执行git clone的时候出现报错

git: 'remote-http' is not a git command. See 'git --help'

解决

yum install libcurl-devel
yum install curl-devel

再将git进行重新编译,即可解决

posted @ 2022-04-01 22:23  请务必优秀  阅读(7231)  评论(0编辑  收藏  举报