首页 > 数据库技术 > 详细

Please make sure you have the correct access rights and the repository exists(转发)

时间:2021-06-25 17:10:26      阅读:15      评论:0      收藏:0      [点我收藏+]

转发自:https://blog.csdn.net/qq_43705131/article/details/107965888

 

问题:
Please make sure you have the correct access rights and the repository exists 

 技术分享图片

 

原因:
公钥出问题了,需要删除.ssh下文件,然后重设置用户名和邮箱再重新生成ssh公钥即可解决

 

解决:
步骤一:删除.ssh下所有所有文件

 技术分享图片

 

 

 步骤二:

 技术分享图片

 

 

 

1.设置用户名

git config --global user.name ‘xxx’

2.设置用户名邮箱

git config --global user.email ‘xxx@163.com’

3.查看设置

git config --list

 技术分享图片

 

 

 然后继续输入命令:修改后面的邮箱即可

ssh-keygen -t rsa -C "it_zdh@163.com"

 

 

 技术分享图片

 

 

配置:github

技术分享图片

 

 配置SSH

技术分享图片

 

 

完成

技术分享图片

 

 

然后再重新去试试提交,问题也就迎刃而解了~~

 


 

 

 

————————————————

版权声明:本文为CSDN博主「煌sir」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_43705131/article/details/107965888

Please make sure you have the correct access rights and the repository exists(转发)

原文:https://www.cnblogs.com/luoxuemei/p/14930761.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!