1、git clone git clone 用户名@地址:仓库路径 2、ssh免密登陆 ssh-keygen 获取ssh秘钥 推送秘钥到服务器,ssh-copy-id -i ~/.ssh/id_rsa.pub 用户名@地址