Linux下提示 git: command not found

Posted victorcode

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux下提示 git: command not found相关的知识,希望对你有一定的参考价值。

1.出错原因: 服务器没有安装GIT,所以导致出错。

解决办法:

1)Centos下使用:yum install git -y  或者  yum install -y git .  (centos6.8)  

2)Ubuntu/Debian下使用 : apt-get install git -y

Linux – git: command not found

以上是关于Linux下提示 git: command not found的主要内容,如果未能解决你的问题,请参考以下文章