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
Brandon Whisnant
8,986 PointsCannot add repo to github using desktop application
Hi guys,
I am trying to add a repo to github using the github desktop application. However, when I attempt to do this and I select the add button and choose the location of the folder it never shows me any of the files within that folder. I have been having a ton of issues with github in general lately. It hasn't been saving my commits and has just been acting weird since yesterday. Has anyone else had any issues or does anyone have any suggestions?
Thank you, Brandon
Brandon Whisnant
8,986 PointsI was on a mac. It was kind of strange. I used command line for the time being and then the desktop application started working again. Thank you for the response by the way. i appreciate it.
3 Answers
Sergey Podgornyy
20,660 PointsI suggest you to use console (command line) to upload your project on Github:
- Initialize your local repo using
git init - Prepare all files for commit
git add . - Commit your project
git commit -m "first commit" - Create repo on Github
- Link your repo with Github
git remote add origin https://github.com/Your_nickname/Your_repo.git - Push your local commit to Github
git push -u origin master
Brandon Whisnant
8,986 PointsThis ended up working without an issue. Thank you so much for your help. I really appreciate it.
Sergey Podgornyy
20,660 Points-
Sergey Podgornyy
20,660 Points-
Garrett Sanderson
12,735 PointsGarrett Sanderson
12,735 PointsI haven't had any issues, are you on the mac client or pc?