一、生成ssh公钥
cd ~/.ssh
ls
ssh-keygen
cat ~/.ssh/id_rsa.pub
![](https://img.haomeiwen.com/i4126068/62b7c74af10804fa.png)
二、在Git上面配置用户账号信息
git config --global user.name "你的用户名"
git config --global user.email "你的github的邮箱地址"
三、进入到你本地要存放的位置
四、git clone + 你想要克隆的项目的地址
http://www.cnblogs.com/specter45/p/github.html
网友评论