提交代码时报此错:
在使用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 "邮箱地址"重新生成密钥