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 trialAaron Selonke
10,323 PointsThe Fatal Error
when I enter the git push origin master, command, there is an error that the project does not appear to by a git repository??
and 'Please make sure you have the correct access rights.. ..
Screenshot here http://uploadpie.com/vIqdm
3 Answers
Jennifer Nordell
Treehouse TeacherAccording to your screenshot, it seems that you made a typo when setting up the remote as origin. The place you're trying to push to is httpsL//github.com/Aarondv1/TH.git
, but this is not valid URL. I'm guessing it should be https://github.com/Aarondv1/TH.git
.
Try this:
git remote set-url origin https://github.com/Aarondv1/TH.git
This should alter the URL given in the origin remote setup. You can then try your push again. Good luck!
James Scoggins
8,232 PointsHaving the same exact issue? Anybody know how to solve this?
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hos
ts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
treehouse:~/workspace/Treehouse$
Roy Joaquin
8,309 PointsNo matter what I did I got a fatal error on the treehouse console at the same place, despite following her steps exactly and triple checking my work. I think it's a limitation of the console within the workspace environment, as least it appears that way for me.
When I had done the Git course I had downloaded git bash onto my PC and I was able to replicate all the same steps in the actual console. I didn't have her python files but I created a basic readme file of my own and I was able to successfully push it to Git Hub.
So I know the process works, but not on the treehouse workspace console.
Aaron Selonke
10,323 PointsAaron Selonke
10,323 Pointswhen the console reports the 'fatal error' it changes the URL string and replaced the colon with the 'L'
The command was typed correctly, same as what you wrote....