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 GitHub Basics Working By Yourself Push Your Project to GitHub

Fatal Error while trying to upload to github.com

I've gone through this twice and was unable to load files remotely into a github repository.

I'm getting a fatal error message: "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)"

After failing twice, I went to github.com and created the repository on the site and I'm still getting the same error.

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

That tells me you either had an error when you used git init or you skipped it and didn't create a local repo in the Workspace.

No matter what I did I got a fatal error on the treehouse console at the same place, despite following her steps exactly and triple checking my work. I think it's a limitation of the console within the workspace environment, as least it appears that way for me.

When I had done the Git course I had downloaded git bash onto my PC and I was able to replicate all the same steps in the actual console. I didn't have her python files but I created a basic readme file of my own and I was able to successfully push it to Git Hub.

So I know the process works, but not on the treehouse workspace console.