Application not pushed to Github and Heroku

Following this tutorial :
http://railstutorial.org/chapters/static-pages#top

I created the hello.html file.

After that, I have done the following:

$ git push
$ git push heroku

But, I couldn't see the changes neither at Github nor at Heroku. Why is
that?

Thanks.

Hi,
Try:
git push heroku master

As with git I think you must specify the branch (although you can
only, it seems, push master to heroku).

David

Also, I assumed you had but you must also
Git init
Git add
Git commit
... In fact if you missed these steps, go to the heroku main page and
they have step by step how to do this.

try:

http://docs.heroku.com/quickstart

Thanks a lot everyone, I think maybe the issue was because I'm using
Rails 3.0.0.rc, that is to Heroku:

http://getsatisfaction.com/railstutorial/topics/deploying_to_heroku_problem?utm_content=topic_link&utm_medium=email&utm_source=reply_notification

It worked for Github. Maybe I got some steps missing, but now is
working.

Sorry. Regarding the solution that I said it worked I seem went to
another problem.

I'm trying your suggestions.

Thanks.

It seems that it is still not working.

I had deployed the application here: http://simple-window-59.heroku.com/

You can for example view the users:
http://simple-window-59.heroku.com/users

At github: http://github.com/SWEngineer/sample_app/tree/master/public/

I realized the in the "public" direcory "hello.html" is not being
committed although I have it locally.

Any ideas?

What I would do personally is backup the project, delete the heroku
app and start over following the heroku directions to a 't'. It
should go flawless if you follow their dirs.

David

DK wrote:

What I would do personally is backup the project, delete the heroku
app and start over following the heroku directions to a 't'. It
should go flawless if you follow their dirs.

David

committed although I have it locally.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

--
Sent from my mobile device

Yes, good idea.

Thanks.