提交代码时报此错:
在使用git提交代码时出现 fatal: Could not read from remote repository 这个错误
lenovo@LAPTOP-GB86BM8G MINGW64 /f/work (master)
$ git push origin master
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
首先,将本地生成的 id_rsa以及id_rsa.pub这两个文件删除掉
然后,使用命令 ssh-keygen -t rsa -C "邮箱地址"重新生成密钥
版权声明:本文为weixin_39328406原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。