解决Please make sure you have the correct access rights and the repository exists 问题.

解决Please make sure you have the correct access rights and the repository exists 问题.问题:Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists请确保您具有正确的访问权限并且存储库存在原因:公钥出问题了,需要删除.ssh下文件,然后重设置用户名和邮箱再重新生成ssh公钥即可解决解决:步骤一:删除.ssh下所有所有文件步骤二:1.设置用户名gitconfig–globaluser.name‘zhandehu…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

问题:

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

请确保您具有正确的访问权限并且存储库存在

解决Please make sure you have the correct access rights and the repository exists 问题.

 

原因:

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

 

解决:

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

解决Please make sure you have the correct access rights and the repository exists 问题.

 

步骤二:

解决Please make sure you have the correct access rights and the repository exists 问题.

1.设置用户名

git config –global user.name ‘zhandehuang’

2.设置用户名邮箱

git config –global user.email ‘it_zdh@163.com’

3.查看设置

git config –list

解决Please make sure you have the correct access rights and the repository exists 问题.

 

 

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

ssh-keygen -t rsa -C “it_zdh@163.com”

解决Please make sure you have the correct access rights and the repository exists 问题.

 

  • 配置:github

解决Please make sure you have the correct access rights and the repository exists 问题.

 

  • 配置SSH

解决Please make sure you have the correct access rights and the repository exists 问题.

 

  • 完成

解决Please make sure you have the correct access rights and the repository exists 问题.

 

 

 

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

 

 

 

看完恭喜你,又知道了一点点!!!

你知道的越多,不知道的越多! 

~感谢志同道合的你阅读,  你的支持是我学习的最大动力 ! 加油 ,陌生人一起努力,共勉!!

注: 如果本篇有需要改进的地方或错误,欢迎大神们指定一二~~

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/157794.html原文链接:https://javaforall.net

赞 (0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号