【发布时间】:2020-09-14 01:18:24
【问题描述】:
在部署时出现此错误,但能够提交和推送代码。 发生此问题后,我已删除以前的开发人员存储库。我尝试在服务器上生成新的 ssh 密钥,然后将其添加到新存储库,但 github 显示 key is already in use 消息。
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我该如何解决这个问题?我只想使用我的新存储库进行部署。
【问题讨论】: