解决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文件中所有东西

在这里插入图片描述
在这里插入图片描述

1.设置用户名

git config --global user.name ‘wuzhichao’

2.设置用户名邮箱

git config --global user.email ‘2297495281@qq.com’

3.查看设置

git config --list

然后重新配置ssh 详情

猜你喜欢

转载自blog.csdn.net/qq_52151772/article/details/114372224