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

Development Tools

I added git and started a repository but why is it trying to upload my computer

Git is asking to track all of my folders on my computer did I do something wrong?

8 Answers

Hi Jonathan,

Yes, it is seeking your project folder in your computer desktop or directory before you can start to git repo. You don't have file yet.

Let's open your terminal to play around:

  • cd Desktop (goes to Desktop)

  • mkdir my_first_project (create any file name)

  • now cd my_first_project (use this folder, make sure same name you just create)

Hints: 2:32

Most popular - TryGit

Hope that helps.

okay cool, thanks for the help. Now if I wanted to grab a folder I had exsiting exactly how would I do that. Would I "cd <folder>" then "cd<folder>" until i have my folder and add and commit it from there

Exactly correct. cd stand for change directory to locate file, mkdir stand for make directory or create new file.

Thank you, I assume it's safe to say that I am allowed to interact with the files as if I wasn't on git while they are on my computer correct? such as storing files(css, js, php) and images

Yes right, you can work with your files in your desktop without git. If you want all history from git logs, like you are finished one html page and then add commit "finish HTML page" into git history before transferred to GitHub and then next you will work on JS page before commit again. Same process.

I think, you can try start to create project folder in your desktop and try to locate folder by using "cd [file name]"

haha okay now how do I back out of this folder so I can access my exisiting folder that I actually want to upload to github?

Just type "cd" without file name, it will go back to original directory and then type again "cd [your file name] :)


I am trying to delete the folder but it wont let me checkout of it or use the git rm -rf .git command

Jonathan, you will understand more easier when you play around with it. You can try to review Git and Github on our library here or use google for instruction. ;)

Thanks I will use them both. I would love it if there was a walk through, everytime they start the videos they start them after these basics are already setup.

William Li
William Li
Courses Plus Student 26,868 Points

Jonathan Ankiewicz hi, there, you can give this Udacity FREE course a try. How to Use Git and GitHub, this is a much more hand-on approach, the course is designed for total beginner, so it goes in great detail at explaining lots of underlying concepts of git.

So I got this going, I also found a package install for sublimetext that will speed the process up even more. Not the biggest fan of using short cuts before fully grasping the basic concept but seems to be the same flow/commands just at a faster speed.

But, now I am having trouble launching files from git into my sublimetext.. Any recommends?