Ruby on Rails 和 Heroku 问题
$ git push heroku master
我基本上收到这个错误消息。
error: src refspec master does not match any.
error: failed to push some refs to '[email protected]:falling-stone-505.git'
我对计算机编程和 ruby on Rails 非常陌生,因此将不胜感激解决此问题的“白痴”指南。
提前致谢。
$ git push heroku master
I basically get this error message.
error: src refspec master does not match any.
error: failed to push some refs to '[email protected]:falling-stone-505.git'
I'm very new to computer programming and ruby on rails so an "idiots" guide to solving this would be appreciated.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您还没有承诺任何要推动的事情。尝试这样做:
然后再次尝试推送到 Heroku。
您可以尝试按照本教程进行操作,但我不能保证这一点。这个领域的大多数专业成果都是书籍。
You haven't committed anything to push yet. Try doing:
Then try to push to Heroku again.
You might try following along with this tutorial, although I can't vouch for it. Most of the professional endeavors in this space are books.
如果您希望将来更容易跟踪您的提交,在
1.
2.
之后,
您可以使用
3.
那么你可以
If you want your commits to be easier to track in the future, after
1.
2.
instead of
you can use
3.
Then you can