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 trialHolly Logan
7,142 PointsHelp with GitHub - absolute beginner!
Hi,
I understand how to upload a project to GitHub and then submit it to be reviewed and graded. However, I did not pass my most recent project so I have made the changes required and now I want to post it on Slack for classmate review before I resubmit it.
How do I upload the changes to GitHub? I have watched tutorials about GitHub but I don't even understand what deployment is, branches, pull requests.... it's very confusing.
Can someone please give me very basic steps on how to add my changes to GitHub so I can then post on Slack?
Thanks Holly
5 Answers
Kevin Korte
28,149 PointsHi Holly,
I'm guessing this is related to a tech degree, which I don't have access to, but I will still try to help. I'm assuming that this project has been uploaded at least once to github already, and the initial repository that did not pass is there currently, correct?
Holly Logan
7,142 PointsHi Kevin, yes that's correct. The project has already been uploaded, did not pass so I have made then changes required in my html file (on my local desktop) and now I want to upload those changes to GitHub in order to get it reviewed.
Kevin Korte
28,149 PointsOkay, so first things first, make sure you've navigated to root of the project, this is also where you would have done your git init
when you started, and also where the hidden .git
file would be.
From there, you can just confirm that your remote branches are set up (and they should be for you already), but it's just good to check every so often. You can do this by typing git remote -v
and you should see your remote repo on (github I assume) url returned back to you.
If that's correct, you can check which files are modified or untracked by typing git status
. When you do git status, what do you see?
Holly Logan
7,142 PointsHi Kevin, arrrgh.. sorry this is so confusing to me. First of all, I am doing this on the GitHub website, or should I do this in app that sits in the dock of my Mac?
You can see, a real beginner!
Kevin Korte
28,149 PointsIt's okay, well, where did you write the new code you want to get onto github, on your computer, in a workspace?
Holly Logan
7,142 Pointsin a workspace, I just amended the html and re-saved
Holly Logan
7,142 PointsHi Kevin, I've just figured it out! Thanks for your help :)
Kevin Korte
28,149 PointsAwesome! Glad to hear it