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).

2 Answers

Jeff Wilton
Jeff Wilton
16,629 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