首页 > 数据库技术 > 详细

git 报错 Please make sure you have the correct access rights and the repository exists.

时间:2019-08-05 15:58:35      阅读:126      评论:0      收藏:0      [点我收藏+]

1.设置Git的user name和email

$ git config --global user.name "wubaiwan"

$ git config --global user.email "576953565@qq.com"

2.然后系统会自动在.ssh文件夹(一般在c盘)下生成两个文件,id_rsa和id_rsa.pub,用记事本打开id_rsa.pub

3.全选复制里面的内容技术分享图片

4,打开git 设置 粘贴到里面

技术分享图片

5,回到git bash 输入命令ssh -T git@github.com ,运行后在输入yes,回车,啦啦啦就ok了

 

git 报错 Please make sure you have the correct access rights and the repository exists.

原文:https://www.cnblogs.com/wubaiwan/p/11303434.html

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