我已經在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]