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 Putting a Project on GitHub

Michael Van Patter
Michael Van Patter
2,848 Points

Where are my files?

I created a website on Treehouse in Workspaces. My assumption is that to upload it to Github, I would start in Workspaces with my code pulled up, then FILE//SAVE PAGE AS... and save it to my hard drive. Then upload the entire folder that was just saved. Is that correct?

1 Answer

Kevin Korte
Kevin Korte
28,148 Points

You can do it right in the console from your workspace. Create your repo on github, init a new local git repo in your workspaces root directly, connect the remote repo to your local repo, add and commit all of your files to your local git repo, and than do a push to push those files to github.

Let me know if you need more help, the git course here should cover this.