把github上的项目clone到本地的步骤

2018-08-04  本文已影响17人  pure_joy

一、生成ssh公钥

cd ~/.ssh
ls
ssh-keygen
cat ~/.ssh/id_rsa.pub
生成ssh公钥.png

二、在Git上面配置用户账号信息

git config --global user.name "你的用户名"
git config --global user.email "你的github的邮箱地址"

三、进入到你本地要存放的位置
四、git clone + 你想要克隆的项目的地址
http://www.cnblogs.com/specter45/p/github.html

上一篇下一篇

猜你喜欢

热点阅读