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

猜你喜欢

转载自www.cnblogs.com/victorcode/p/10150694.html