1. 安装

  1. yum install git
  2. git --version
  3. git clone https://gitee.com/longyijia/wechat-pro.git

2. 克隆远程仓库到服务器

image.png

  1. git clone https://gitee.com/longyijia/wechat-pro.git

image.png

3. ssh免密

  1. ssh-keygen -t rsa -C xxxxxxxx@qq.com
  1. cd ~/.ssh
  2. pwd // /root/.ssh
  3. ll
  4. vi id_rsa.pub

image.png

  1. ssh -T git@gitee.com

image.png