1.git克隆文件又两种方式第一种http:git clone https://github.xxxx.xxx.com/xxx/xxx.git
第二种ssh:git clone git@github.xxx.xxxx.com:xxx/xxxx.git
2.想要是用ssh克隆就得配置ssh
ssh-keygen -t rsa
cd ~/.ssh
cat ~/.ssh/id_rsa.pub
点击git网页的头像--》setting--》SSH keys and GPG keys--》new SSH key--》把id_rsa.pub内容粘贴到key里,自定义一个title
3.接下来就可以是用ssh方式克隆项目了