# attempting to clone the git repo

6 messages from 2007-03-08 to 2007-03-09. Participants: Andrew Kilroy, Johannes Schindelin, Junio C Hamano, Peter Baumann.
Thread: https://gitlist.dev/t/7154

## Andrew Kilroy, 2007-03-08 16:49

Subject: attempting to clone the git repo
Message-ID: <2fb03ecb0703080849m41ac8158y4895f2bc811934f5@mail.gmail.com>
URL: https://gitlist.dev/e/2fb03ecb0703080849m41ac8158y4895f2bc811934f5%40mail.gmail.com

```
Hi,

I'm attempting to clone the git repository using git-1.5.0.3 in my workplace.
Port 9418's blocked by the firewall, so I'm trying via http:

    $ git clone http://git.kernel.org/pub/scm/git/git.git
    Initialized empty Git repository in /home/akilroy/workspace/git/.git/
    Cannot get remote repository information.
    Perhaps git-update-server-info needs to be run there?

Is there a problem at the server?  I've tried this before using an old version
of git, and that worked (1.4.4.4 I think).

Thanks,
Andy

```

## Johannes Schindelin, 2007-03-08 17:29

Subject: Re: attempting to clone the git repo
Message-ID: <Pine.LNX.4.63.0703081828500.22628@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0703081828500.22628%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <2fb03ecb0703080849m41ac8158y4895f2bc811934f5@mail.gmail.com>

```
Hi,

On Thu, 8 Mar 2007, Andrew Kilroy wrote:

> I'm attempting to clone the git repository using git-1.5.0.3 in my workplace.
> Port 9418's blocked by the firewall, so I'm trying via http:
> 
>    $ git clone http://git.kernel.org/pub/scm/git/git.git

Add a "/" to the end:

$ git clone http://git.kernel.org/pub/scm/git/git.git/

Hth,
Dscho

```

## Johannes Schindelin, 2007-03-08 17:33

Subject: Re: attempting to clone the git repo
Message-ID: <Pine.LNX.4.63.0703081833020.22628@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0703081833020.22628%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <Pine.LNX.4.63.0703081828500.22628@wbgn013.biozentrum.uni-wuerzburg.de>

```
Hi,

On Thu, 8 Mar 2007, Johannes Schindelin wrote:

> On Thu, 8 Mar 2007, Andrew Kilroy wrote:
> 
> > I'm attempting to clone the git repository using git-1.5.0.3 in my workplace.
> > Port 9418's blocked by the firewall, so I'm trying via http:
> > 
> >    $ git clone http://git.kernel.org/pub/scm/git/git.git
> 
> Add a "/" to the end:
> 
> $ git clone http://git.kernel.org/pub/scm/git/git.git/

Sorry. After trying: this does no longer work. Evidently, something 
changed (gitweb says http://git.kernel.org//git/git.git (sic!) is correct 
now, but it is not).

Sorry again,
Dscho

```

## Junio C Hamano, 2007-03-08 18:40

Subject: Re: attempting to clone the git repo
Message-ID: <7v649ba89l.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v649ba89l.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <Pine.LNX.4.63.0703081828500.22628@wbgn013.biozentrum.uni-wuerzburg.de>

```
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> On Thu, 8 Mar 2007, Andrew Kilroy wrote:
>
>> I'm attempting to clone the git repository using git-1.5.0.3 in my workplace.
>> Port 9418's blocked by the firewall, so I'm trying via http:
>> 
>>    $ git clone http://git.kernel.org/pub/scm/git/git.git
>
> Add a "/" to the end:
>
> $ git clone http://git.kernel.org/pub/scm/git/git.git/

I've always thought that for http transfer the hostname was not
git.kernel.org but www.kernel.org, as in:

	git clone http://www.kernel.org/pub/scm/git/git.git/

```

## Andrew Kilroy, 2007-03-09 09:51

Subject: Re: attempting to clone the git repo
Message-ID: <2fb03ecb0703090151j10842263off743be1f86bf9c3@mail.gmail.com>
URL: https://gitlist.dev/e/2fb03ecb0703090151j10842263off743be1f86bf9c3%40mail.gmail.com
In-Reply-To: <7v649ba89l.fsf@assigned-by-dhcp.cox.net>

```
On 08/03/07, Junio C Hamano <junkio@cox.net> wrote:
> I've always thought that for http transfer the hostname was not
> git.kernel.org but www.kernel.org, as in:
>
>         git clone http://www.kernel.org/pub/scm/git/git.git/
>

That worked, thanks.

I thought there were more branches though (pu, todo...).  I can only
see master via 'git branch'.  I'm not that familiar with git yet, so I
might be missing something obvious here.

Andy

```

## Peter Baumann, 2007-03-09 10:08

Subject: Re: attempting to clone the git repo
Message-ID: <20070309100823.GB28406@xp.machine.xx>
URL: https://gitlist.dev/e/20070309100823.GB28406%40xp.machine.xx
In-Reply-To: <2fb03ecb0703090151j10842263off743be1f86bf9c3@mail.gmail.com>

```
On Fri, Mar 09, 2007 at 09:51:14AM +0000, Andrew Kilroy wrote:
> On 08/03/07, Junio C Hamano <junkio@cox.net> wrote:
> >I've always thought that for http transfer the hostname was not
> >git.kernel.org but www.kernel.org, as in:
> >
> >        git clone http://www.kernel.org/pub/scm/git/git.git/
> >
> 
> That worked, thanks.
> 
> I thought there were more branches though (pu, todo...).  I can only
> see master via 'git branch'.  I'm not that familiar with git yet, so I
> might be missing something obvious here.
> 
> Andy

Use
	git branch -r   # shows the remote branches
or
	gitk --all 	# --all = show every branch

to see all the branches.

-Peter

```
