生成一个新的SSH key
执行命令生成SSH Key。
ssh-keygen -t rsa -c "***@yourdomain.com"
参考官方文档: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
添加新的SSH Key到你得Github账号
拷贝公钥到到剪贴板,
pbcopy < ~/.ssh/id_ed25519.pub
粘贴到Github账号设置里。 参考官方文档: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
克隆vue-echarts项目到本地
cd ~/Workspace
mkdir demo
cd demo
git clone git@github.com:ecomfe/vue-echarts.git
|