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 trialRidge Christianson
2,289 PointsWhen i type in git commit it just says: fatal: fatal: Not a git repository (or any parent up to mount point /home/treeho
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).
2 Answers
Travis Alstrand
Treehouse Project ReviewerThis sounds like it's not able to find the hidden .git
directory.
I would ensure that you're at the root of your project with the cd
command before trying again.
If it's still happening, can you make sure you've run git init
to initialize this as a git repository?
Nat Feibish
Full Stack JavaScript Techdegree Student 4,830 PointsI had the same problem. I had to restart my workspace after a timeout, but I switched back into the correct folder.