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,633 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

Angel Angelov
Angel Angelov
10,341 Points

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