1、升级服务器系统
contos7
yum update
debian或者Ubuntu
apt update
2.确保服务器安装了git
contos7
yum -y install git
debian或者Ubuntu
apt -y install git
contos7
yum update
debian或者Ubuntu
apt update
contos7
yum -y install git
debian或者Ubuntu
apt -y install git