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

Philip Powis
Philip Powis
7,625 Points

Remote 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!

Oh, 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?

Philip Powis
Philip Powis
7,625 Points

Hey 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.

I'm at a loss then. It's working for me. Have you tried it in different browsers?

Philip Powis
Philip Powis
7,625 Points

i am using chrome. I will try firefox and see what happens there.

Philip Powis
Philip Powis
7,625 Points

I 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:indefinition' 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:insetup' 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:inrequire' 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?

Hmm, 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
Philip Powis
7,625 Points

hey scott, this resolved itself. There must have been something funky going on...

7 Answers

Hey 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
Chase Lee
29,275 Points

Sorry if I miss understood you on this. But he is referring to one of the Git Basics code challenges.

lyonel scapino
lyonel scapino
14,191 Points

I just removed the last point on the url...it worked

You 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
Thomas Hervey
26,058 Points

This 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

i think the problem was of the full stop after stuff.git....no full stop here!

Remove the last point on you web adress it should pass