添加公钥
ssh-keygen -t rsa -C "你的邮箱地址"三次回车生成密钥对
公钥:id_rsa.pub
复制公钥内容,粘贴到gitee或者github上面去
输入ssh -T git@github.com 或者 ssh- T git@gitee.com
git 配置账号
git config --global user.name "yourName" git config --global user.email "yourEmail"github 保持Acess Token登陆
git config --global credential.helper store