Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Failed to Push Some Refs Github Failure

I've been doing the 'Push to Github' exercise in the Getting Started with Rails tutorial. After entering my Github username and password, I got the following error:

error: src refspec master does not match any. error: failed to push some refs to 'https://github.com/rishimalhotra/treebook.git'

What do these mean and how can I fix it? Thank you!

3 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Have you committed your all of your files?

Yes, I had followed the steps in the videos to do this. And some uploaded to GitHub, but when I tried to go to the site 0.0.0.0:3000, it did not load.

I have some updates here, I got a different error after typing in 'rails server':

https://teamtreehouse.com/forum/treebook-code-error