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!
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
What am I missing in the git remote add command?
Stuck on a quiz question. To add a remote named "tommy" is this not the code: git remote add tommy http://copyandpastedaddressfromquiz.com ?
I've looked in my own code from the videos and the above looks right, but I'm getting a returned answer of having the wrong address. I've tried typing out the address, and copying and pasting it, but I must be missing something.
Jay McGavrenTreehouse Teacher
You didn't by any chance use the same URL for Task 3 that you did for Task 1, did you? They are two different URLs.
The correct solution for Task 3 is:
git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git
Well, maybe it was fatigue and the answer was right in front of me, but I re-entered everything the next morning and that command worked. If I had to guess, I suspect i had an errant space somewhere and just missed it.