当我试图克隆一个我有权限的Rails应用程序仓库时,我遇到了这个问题。
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
即使我生成了公钥并添加了进去,仍然无法解决这个问题。
虽然我可以使用 https
方法进行克隆,但在进行更改后,在尝试推送代码时仍会出现相同的错误。
请为此提供一个解答。
eval $(ssh-agent)
。 - Nithin