一、Profile Settings-->SSH Keys
我们点击这里会有详情的文档介绍生成sshkey。
ssh-keygen -t rsa -b 2048 -C "邮箱" --回车...
将生成的id_rsa.pub粘贴到如下保存
git config --global user.name "用户名"
git config --global user.email "邮箱"
--刷新远程分支
git remote update origin --prune
一、Profile Settings-->SSH Keys
我们点击这里会有详情的文档介绍生成sshkey。
ssh-keygen -t rsa -b 2048 -C "邮箱" --回车...
将生成的id_rsa.pub粘贴到如下保存
git config --global user.name "用户名"
git config --global user.email "邮箱"
--刷新远程分支
git remote update origin --prune