【Git】报错:“fatal: Could not read from remote repository”
提交代码时报此错:
在使用git提交代码时出现 fatal: Could not read from remote repository 这个错误,很简单
首先,将本地生成的 id_rsa以及id_rsa.pub这两个文件删除掉
然后,使用命令 ssh-keygen -t rsa -C "邮箱地址"重新生成密钥
最后,将id_rsa.pub文件里的内容复制到 git 的SSH key保...
转载
2020-03-18 00:07:58 ·
1251 阅读 ·
0 评论