繁体   English   中英

git push heroku master上的致命错误

[英]fatal error on git push heroku master

尝试在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上是相同的,我不知道如何解决,将不胜感激。

请尝试这个

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

heroku create boiling-river-309

接着

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

更多信息请关注

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM