1

您好,我正在关注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.

这意味着什么?

4

1 回答 1

0

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

于 2014-10-14T17:06:57.390 回答