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 Git Basics Working With Remote Repositories Cloning

Lukasz Bar
Lukasz Bar
2,987 Points

[solved] git remote add

Hi,

I am getting "fatal: /home/treehouse/our_clone_project/ is outside repository" error when i am trying to add a remote repo with command:

git add our_clone ~/our_clone_project

Regards, Lukasz

Lukasz Bar
Lukasz Bar
2,987 Points

Ok i found the mistake. I forgot to add "remote" to git remote add command.

Hey Lukasz Bar, just added "[solved]" to your titled in lieu of an answer to mark as correct so people know you already have an answer. Glad you figured out what was up!