【发布时间】:2018-07-05 01:48:33
【问题描述】:
当我尝试将更改推送到我的 github 存储库时,我收到错误消息:
致命:“git@github.comRedHoodJT1988/hello_app.git”似乎不是 git 存储库 致命:无法从远程存储库中读取。
请确保您具有正确的访问权限并且存储库存在。
我已经查看了文档并在此处完成了步骤:https://help.github.com/articles/error-permission-denied-publickey/
以及查看其他网站,没有任何工作。我能够连接到 ssh,因为我收到消息:Hi RedHoodJT1988...
我不知道下一步该做什么。如果有帮助,我没有使用云 IDE,我使用的是 macbook pro。另外,不确定是否重要,我正在开发一个 Ruby on Rails 应用程序。
【问题讨论】:
-
不应该是你的 ssh 克隆链接会像
git@github.com:RedHoodJT1988/hello_app.git而不是git@github.comRedHoodJT1988/hello_app.git? -
git remote -v返回什么? -
显示来源 git@github.comRedHoodJT1988/hello_app.git (fetch)
-
起源 git@github.comRedHoodJT1988/hello_app (push)
-
您缺少冒号。我将在下面添加一个解决方案。
标签: ruby-on-rails git github ssh