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 trialSamantha Hill
Front End Web Development Techdegree Graduate 20,455 PointsCan't publish repo to Github
So I just finished the Profile Project and I am trying to push my repo to Github but an error message pops up that says Authentication Failed: You may not have permission to access portfolio_update_v1. Check Preferences to make sure you're still logged in.
4 Answers
William Li
Courses Plus Student 26,868 PointsHi there. That error message is a little vain, my best guess is that you've not yet uploaded the local SSH key to your github account.
Please consult the Github help page, especially the contents under Bootcamp & Setup categories, to properly setup the git and Github account, and then this page Adding an existing project to GitHub using the command line on how to push the repo to Github.
If this is too much work, Github for Desktop is always an option at making it dead simple to push any repo to Github using a GUI interface.
Samantha Hill
Front End Web Development Techdegree Graduate 20,455 PointsOk, thank you. I'll try those things but I'm confused why the videos didn't explain any of this.
Colin Marshall
32,861 PointsWhat course are you on? If you click the ask a question button from any video, challenge, or quiz page then your question will be tied to it so we can all see where you are at. Too late for that now though, so please provide a link. Thanks!
Colin Marshall
32,861 PointsThanks for the link. The videos didn't explain any of this because they were made under the assumption that the project you are going to put on Github was never on Github in the first place. Since your project started as a clone, it was tied directly to the Github repo you cloned it from.
Dave McFarland
Treehouse TeacherSorry for the confusion Samantha Hill
The files we originally had online already were associated with a Git repo (as you found out :(
We've updated them, so others shouldn't have this problem anymore.
Samantha Hill
Front End Web Development Techdegree Graduate 20,455 PointsSamantha Hill
Front End Web Development Techdegree Graduate 20,455 PointsThank you. I am using Githubfor desktop. I think the problem is that I have a clone of Team Treehouse's repository and I'm trying to push my changes into it but I don't have permission.
William Li
Courses Plus Student 26,868 PointsWilliam Li
Courses Plus Student 26,868 PointsCorrect, you don't have permission to push change to Treehouse's Github repos.
What you can do is to fork that repo into your Github account, forking in Github is essentially like making your own copy of the whole repo, and you have the full permission to push or pull from the forked repo.
Colin Marshall
32,861 PointsColin Marshall
32,861 PointsBuilding on what William Li said, I would do the following: