我已经在github上建了项目了,这里不在重复,换了个电脑,我要下载下来修改下。
1,生成密钥
ssh-keygen -t rsa -C "[email protected]"
2,把公钥放到github上去
cat ~/.ssh/id_rsa.pub
3,就可以下载了
git clone [email protected]:guoyanzhang0817/playMQTTing.git
4,修改提交代码前的配置:
git config --global user.name "guoyanzhang"
git config --global user.email [email protected]