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 trialMalachi Dean
3,694 PointsFatal Error with 'git branch add-readme'?
fatal: Not a git repository (or any parent up to mount point /home/treehouse/workspace
)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I keep getting this when typing in 'git branch add-readme'.
What can I do to fix this issue?
1 Answer
John Steer-Fowler
Courses Plus Student 11,734 PointsHi Malachi,
I think you seem to be in the wrong directory.
The working directory in the video is /workspace/Treehouse
Hope this helps
Malachi Dean
3,694 PointsMalachi Dean
3,694 PointsThanks a bunch. Can't believe I looked over that D:
Josie Nagy
14,992 PointsJosie Nagy
14,992 PointsHi John,
I'm encountering the same problem (I think a lot of people in this course are), but I don't understand your solution. Can you please further explain?
Thank you, Josie
Mike Hatch
14,940 PointsMike Hatch
14,940 PointsIn other words, John was saying that if you're currently in the wrong directory, change into the correct one. This happened to me because I paused the course and came back. You want to be in the Treehouse folder. Type
cd Treehouse
into your Workspace console and that will change your directory fromtreehouse:~/workspace$
to the correct one:treehouse:~/workspace/Treehouse$