1、安装:
yum install git
2、配置:
git config --global user.name “你的名字”
git config --global user.email “你的邮箱地址”
git config --global core.autocrlf false
git config --global gui.encoding utf-8
git config list --global
ssh-keygen -t rsa -C “你的邮箱地址”
cat ~/.ssh/id_rsa.pub
3、git库上添加公钥
4、clone
git clone 你的项目