记录一下自己的解决步骤增加印象
一、设置gitee本地的用户名与用户邮箱
git config --global user.name "xxx"
git config --global user.email "xxx"
设置完可以用git config user.name查看
二、生成ssh秘钥 邮箱就填自己刚刚设置的
ssh-keygen -t rsa -C "****@“”
一路回车 +----[SHA256]-----+ 看到这个就生成成功
三、.ssh/id_rsa.pub 把这个文件夹下生成的秘钥复制一下 我的在c盘/用户/89808/.ssh/id_rsa.pub下。然后添加到git上面的设置ssh公钥就可。