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 trialSajid Latif
Full Stack JavaScript Techdegree Student 22,368 PointsI cannot pull my origin master. How come?
Sajid-Air-2013:butler sajidlatif$ git push -u origin maste
error: src refspec maste does not match any.
error: failed to push some refs to 'https://github.com/saj1980/Butler.git'
Sajid-Air-2013:butler sajidlatif$
I get this error. Any idea why?
4 Answers
Sajid Latif
Full Stack JavaScript Techdegree Student 22,368 PointsI think I fixed the problem. I had to git add the files. Right now I can only add one file at a time. How do I git add all files in once? Do you know that.
James Barnett
39,199 PointsHow do I git add all files in once?
To add all files in your present working directory use git add *
further reading
Stone Preston
42,016 Pointsyou typed maste instead of master.
git push -u origin maste
try:
git push -u origin master
Sajid Latif
Full Stack JavaScript Techdegree Student 22,368 PointsThanks for fast reply :) Sorry. I just did not copy it right. I used the word master and I have the same issue. Any idea how come?
christephens
9,470 PointsGreat link.