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 clone won't recognize the url of my remote repository

I have installed git on a Ubuntu server within my company intranet. This server is meant to act as the centralized repository for our company website. I have a Windows computer on which I am trying to clone my remote repository from my Ubuntu server. The URL to access the website from the Ubuntu server is http://new.doublel.com. When I created my remote repository, I used the command: git remote add origin http://new.doublel.com.

I have set up a git repository on my local Windows computer and tried to clone the repo using the following command: git clone http://new.doublel.com. My git bash interface tells me "fatal: repository 'http://new.doublel.com' not found. What am I doing wrong?

I assume from the lack of documentation on this subject online that there may be a better way of accomplishing my goals. I'm open to any suggestions.

1 Answer

Brendon Butler
Brendon Butler
4,254 Points

Is www.doublel.com your domain?

If so, it seems as if the DNS records do not contain a record of your subdomain new.doublel.com.

If you have recently created this subdomain. It could take up to 24 hours for your DNS records to update.

If you haven't actually created this subdomain, that should be your first step.

If you're not sure how to customize DNS records. Search for something like "how to set/change DNS records for (insert web host here)".

The site, new.doublel.com, is only an intranet site. While I don't own the domain, doublel.com, I was able to create this site by creating A records on my domain controller. I don't want to get into more detail than that. Take it as a given that new.doublel.com works on my local network.