请确保您拥有正确的访问权限并且存储库已存在

时间:2013-07-17 10:22:32

标签: heroku key git-push

您好我正在关注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.
这是什么意思?

1 个答案:

答案 0 :(得分:0)

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

相关问题