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 Introduction to Git Managing Committed Files Removing Files

Not a git repository

treehouse:~/workspace$ git status
fatal: Not a git repository (or any parent up to mount point /home/treehouse/wor
kspace)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

3 Answers

Jeff Wilton
Jeff Wilton
16,646 Points

I've done this so many times myself! You are in the parent workspace directory, not in the project directory.

You are here:

~/workspace$

And according to the video, you need to be here:

~/workspace/medals$

So, a simple

~/workspace$ cd medals

should do the trick!

Tnx for the answer. Works of course.

sebbe12
sebbe12
4,015 Points

Thank you

Thanks you so much. Was browsing around the questions and answers and that is definitely the best answer. Solved for a sec. Thanks