在github上clone项目时,有时会遇见此问题:please make sure you have the correct access rights and the repository exists,该如何解决此问题呢?
第一步:
git config --global user.name "githubName"
git config --global user.email "githubEmail"
第二步:
在电脑C盘中搜索 .ssh ,找到.ssh文件,删除 .ssh文件中
第三步:
ssh-keygen -t rsa -C "githubEmail"
此时 .ssh 文件中会生成以下文件,找到id_rsa.pub用记事本打开,将其内容复制
第四步:
点击 New SSH key,将id_rsa.pub全部内容复制到 Key 框中
第五步:
ssh -T git@github.com
如果