本文介绍了在Heroku上部署Schnitzelpress - 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名CSS Designer,现在正在通过Ruby学习编程。今天,我正在安装(或者试图安装)Heroku上的Ruby博客平台Schnitzelpress -
$ b



我按照上面的指导去了T.一切都很好,直到我到达这一个 -

git push heroku master



它给了我一个 src refefspec master不匹配错误和错误:无法将某些参考推送到... 错误。

我在Stackoverflow中读到类似的错误,但是徒劳无功。

我是编程的初学者,所以你可以用外行的话来帮助我。我知道机器没有错。是我。

非常感谢!

解决方案

试试:

  git add。 
git commit -m'commiting ..'
git push

如果有一个问题尝试 git pull 并重复

I am a CSS Designer who is now studying Programming through Ruby. Today, I was installing (or rather trying to install) Schnitzelpress, a Ruby blogging platform on Heroku -

http://schnitzelpress.org/manual/setup/

I followed the above guide to the T. All was well, until I arrived at this one -

git push heroku master

It gives me a src refefspec master does not match error and error: failed to push some refs to... error.

I read similar errors here in Stackoverflow, but in vain.

I am a beginner in programming, so can you, in layman's term help me out. I know the machine isn't wrong. It's me. I just can't figure out what am I doing wrong.

Much Appreciated!

解决方案

Try:

git add .
git commit -m 'committing..'
git push

If there's a problem try git pull and repeat

这篇关于在Heroku上部署Schnitzelpress - 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-26 14:12