【问题标题】:please make sure you have the correct access rights and the repository exists请确保您具有正确的访问权限并且存储库存在
【发布时间】:2013-07-15 20:29:49
【问题描述】:

您好,我正在关注ruby.railstutorial。我运行了这些命令

heroku keys/add

然后

C:\Users\Pierre-Henri\Desktop\Mon bazar\Ruby\code\omrails>git remote add heroku
git@heroku.com:omrails.git

每个都有效,最后:

C:\Users\Pierre-Henri\Desktop\Mon bazar\Ruby\code\omrails> git push heroku master

它会吐出这个错误:

 !  Your key with fingerprint 22:8f:57:8b:d2:2e:7e:f4:a4:0d:e6:cb:f0:51:27:3d is
 not authorized to access omrails.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

这是什么意思?

【问题讨论】:

标签: heroku key git-push


【解决方案1】:

您是否创建了一个 git 存储库?使用git init 创建它,然后提交一些文件。

【讨论】:

    猜你喜欢
    • 2018-07-05
    • 2018-08-05
    • 2014-11-13
    • 1970-01-01
    • 2021-04-18
    • 2015-07-16
    • 1970-01-01
    • 1970-01-01
    • 2021-12-07
    相关资源
    最近更新 更多