git push heroku master的致命错误

时间:2014-09-02 10:30:04

标签: ruby-on-rails git heroku ssh

我试图在Heroku上部署我的rails 4项目时遇到错误。 每当我尝试git push Heroku master命令时,我都会收到此错误,

C:\Sites\projects\eventstream>git push heroku master
ssh: heroku.com: no address associated with name
fatal: Could not read from remote repository.

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

我尝试使用

检查拼写错误
C:\Sites\projects\eventstream>git remote -v
heroku  git@heroku.com:boiling-river-3096.git (fetch)
heroku  git@heroku.com:boiling-river-3096.git (push)
origin  git@github.com:nileshlg2003/eventstream.git (fetch)
origin  git@github.com:nileshlg2003/eventstream.git (push)

在heroku.com上也一样 我不知道如何解决它,任何帮助都将不胜感激。

1 个答案:

答案 0 :(得分:0)

请试试这个

首先你检查你是否正确创建了heroku

heroku create boiling-river-309

然后

git remote set-url heroku git@heroku.com:boiling-river-3096.git

更多信息请点击此

https://devcenter.heroku.com/articles/git