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 trialPhilip Powis
7,625 PointsRemote Work Challenge
Struggling with part of a quiz:
I've got my own copy of the repository hosted at http://tommysgitstuff.com/git_basics/cool_stuff.git. What command would you use to add my copy of the repository as a remote? Give the remote the name "tommy."
Here are some of the answers I have tried:
The one I REALLY thought was right:
git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git
Trying to account for . on end of tommy that I thought might be typo in question:
git remote add tommy. http://tommysgitstuff.com/git_basics/cool_stuff.git
This seems to be the right syntax.... specify the name, and then url...what am I missing here?
Thanks!
Philip Powis
7,625 PointsHey Scott - Thanks for helping out. I probably could have described this better.
Answer:
git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git.
Response:
Bummer! You've got the right command, but the address isn't in there correctly. Double-check that you've got the right address.
Answer:
git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git .
Response:
Bummer! You've got the right command, but the address isn't in there correctly. Double-check that you've got the right address.
Answer:
git remote add tommy http://tommysgitstuff.com/git_basics_cool_stuff.git
Response:
Bummer! You've got the right command, but the address isn't in there correctly. Double-check that you've got the right address.
***I thought it had something to do with the "." character at the end, but no combination seems to work for me.
Scott Magdalein
1,667 PointsI'm at a loss then. It's working for me. Have you tried it in different browsers?
Philip Powis
7,625 Pointsi am using chrome. I will try firefox and see what happens there.
Philip Powis
7,625 PointsI think there is something funny going on with this quiz. now the first question is not working in both chrome and safari and I can't even get back to the original question I was referencing. On quiz one (which i was previously getting correct) I now get this what appears to be an actual tree house internal error:
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/definition.rb:15:in build': /apps/treehouse_code_challenges/Gemfile not found (Bundler::GemfileNotFound)
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:135:in
definition'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:123:in load'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:107:in
setup'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/setup.rb:17:in <top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
Could support or some of your team maybe look at this a little closer?
Scott Magdalein
1,667 PointsHmm, we had some issues night before last, but I don't think it's related. If this is still happening to you, would you mind submitting a support request with details (maybe a link to this forum thread) to the support team via the link in the top right (click on the settings/gear icon and then click "Contact Support").
Philip Powis
7,625 Pointshey scott, this resolved itself. There must have been something funky going on...
7 Answers
Raymundo Figueroa
Front End Web Development Techdegree Student 25,606 PointsOKAY, THE ANSWER IS
git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git
THE EXPLANATION IN ON THE CLONE VIDEO.
Scott Magdalein
1,667 PointsHey Philip, what problem are you trying to solve? Are you trying avoid using Github for git hosting or are you just foraying into self-hosted git repositories?
git remote add [remote name] [url]
is the right syntax, but your remote needs to be setup properly as well. For more context on the subject, this looks like a decent walkthrough.
Chase Lee
29,275 PointsSorry if I miss understood you on this. But he is referring to one of the Git Basics code challenges.
lyonel scapino
14,191 PointsI just removed the last point on the url...it worked
Jeremy Woodbridge
25,278 PointsYou are super close you want this "git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git" All I did was get rid of the period right after git in the url and it worked
Thomas Hervey
26,058 PointsThis issue seems to be occurring again. I have tried using different browsers and all of the code changes as specified above. git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git
MUZ141009 Kenneth Dohwe
8,269 Pointsi think the problem was of the full stop after stuff.git....no full stop here!
Hardlife Muhamba
4,416 PointsRemove the last point on you web adress it should pass
Scott Magdalein
1,667 PointsScott Magdalein
1,667 PointsOh, now I see what you're saying. Went through the Git Basics course and found your stopping point. Your first answer was right:
git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git
.What error/response are you getting when doing the challenge?