推动Heroku错误

Emm*_*uel 0 git ruby-on-rails heroku

我知道这是一个常见的情况,但我搜索了google/stackoverflow,但没有一个解决方案适合.我有这个RoR应用程序,我正在尝试推送到heroku.首先,我创建gentle-savannah-1528(dyno?),我正在尝试,git push heroku master但后来我得到这个错误:

emmanuels-imac:kal siaW$ git push heroku master
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emmanuels-imac:kal siaW$ 
Run Code Online (Sandbox Code Playgroud)

我已经尝试了这么多解决方案但没有效果.有人可以帮我节省一些时间.我不能再花时间试图弄清楚如何推向Heroku.

我已经做了:

emmanuels-imac:kal siaW$ heroku git:remote -a gentle-savannah-1528
emmanuels-imac:kal siaW$ git push heroku master
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emmanuels-imac:kal siaW$ 
Run Code Online (Sandbox Code Playgroud)

CDu*_*Dub 5

听起来你还没有创建remotefor Heroku.

按照这些说明操作,确保您已完成:

heroku git:remote -a gentle-savannah-1528

然后尝试:

git push heroku master