git pull 出现 Please make sure you have the correct access rights and the repository exists.解决方法

git pull 出现 Please make sure you have the correct access rights and the repository exists.

git pull 出现 Please make sure you have the correct access rights and the repository exists.解决方法

xshell上输入 ssh-keygen -t rsa -C “git操作账号”,一直回车直到出现下图样式:

git pull 出现 Please make sure you have the correct access rights and the repository exists.解决方法

按照上边的存储路径找到相应的文件

git pull 出现 Please make sure you have the correct access rights and the repository exists.解决方法
打开 > 复制公钥 -> 到你的github或者gitee -> 找到项目管理 -> 部署公钥管理 -> 添加公钥 -> 粘贴复制的公钥 -> 保存

git pull 出现 Please make sure you have the correct access rights and the repository exists.解决方法
然后再git pull 就成功了

赞(1) 打赏
转载请注明出处:猿客栈 » git pull 出现 Please make sure you have the correct access rights and the repository exists.解决方法
分享到:

评论 抢沙发

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏