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

General Discussion Personal Profile Page

Can't get GitHub to Work

So, is there another way to submit my project files for grading that doesn't use GitHub? I just can't seem to make work. It won't accept my folders as projects and I am simply not able to get this thing to run. I know this is a vague explanation, but has anyone else had this much trouble? I flew through the first course and am now floundering with this. I could have just posed my site onto my server and called it a day.

Christina Freyhult
seal-mask
.a{fill-rule:evenodd;}techdegree
Christina Freyhult
Front End Web Development Techdegree Student 9,565 Points

I was also experiencing problems in getting GitHub working properly for me, and I felt like a bit of a nitwit since I was pretty sure I was just doing some simple mistake. Perhaps someone with more experience can give you better advice, but here is what I did.

My problem: getting files (and the file structure) into a repository. Are you using the GitDesktop?

Create a repository from the Desktop by selecting the "+" and Create. Select the location where you want to have your project. Once you have selected "Create repository", put all your files there. (Either create them in that folder, or just copy your project from it's current location into that new folder. In the Desktop application, your folders should now be added. (To view them, toggle from Changes to History in the top, that was what I missed!) All your new files should be committed (aka saved) by selecting "Push to commit" on that page. And once they are committed, you can publish them. After a very short delay, your repo (and all it's files within) should now be visible on GitHub, ready for you to share!

1 Answer

Kevin Korte
Kevin Korte
28,148 Points

Git, and Github is an incredibly important, and dare I say critical tool that any developer should be comfortable using. Simply flying by it won't help you in the long run.

Now, I'm not in the techdegree, program, but if you give me some things you've tried, and the feedback you got back when it errored, I'd be happy to help you get it working.

I don't mean this to be insulting at all, but it's actually pretty easy once you understand what you're doing. Wrapping your head around it can be a bit of a challenge though, it's a steep learning curve, but it's not hard after that.

So, a couple of days later, I was able to get my project submitted. I learned that the desktop application is much less user friendly than the actual website. My biggest issue was understanding how the master and branches work and how to just submit your work to the interface. I have been working doing process mapping for at least 15 years, but seriously... I just had some sort of block when it came to using the desktop app. I definitely favor using the web interface. At any rate. Thanks Kevin Korte and Christina Freyhult for the words of advice! I hope I get to the point where I am able to advise others. :)

Kevin Korte
Kevin Korte
28,148 Points

Glad you got it figured out. I only ever use the command line, to upload files, but I've been doing it for awhile. As you get more comfortable, the CLI can become an easy way to do it.