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 First Commits First Commits

When 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
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

This 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?