当我在 pycharm 和 github 之间共享 repo 时出现权限被拒绝的错误

There is a permission denied error when I share repo between pycharm and github

Git@github.com:权限被拒绝(公钥)。无法从远程存储库读取。请确保您拥有正确的访问权限并且存储库存在

我在将存储库从我的 GitHub 帐户克隆到 PyCharm 时遇到了这个问题。 我已经从 VCS 菜单登录。

在 github 上传时,创建了新的存储库,但其中没有文件。 请帮我解决这个问题

如果您已登录 (username/password),请尝试使用 https URL.

SSH URL 假设 PyCharm 可以访问 private/oublic 密钥对。
(然后使用 URL,如 git@github.com:...,而不是 Git@github.com