700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > git克隆报错问题 Could not read from remote repository. Please make sure you have the correct access right

git克隆报错问题 Could not read from remote repository. Please make sure you have the correct access right

时间:2020-01-29 19:24:11

相关推荐

git克隆报错问题 Could not read from remote repository. Please make sure you have the correct access right

记录一下自己的解决步骤增加印象

一、设置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公钥就可。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。