threads / discuss / 7154

attempting to clone the git repo

Subject: attempting to clone the git repo

## tl;dr

6 messages between Mar 8, 2007 and Mar 9, 2007.

replies: 5people: 4as markdown or json

Andrew Kilroy· Mar 8, 2007, 16:49 UTC · lore
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· Mar 8, 2007, 17:29 UTC · re: Andrew Kilroy · lore

Re: attempting to clone the git repo

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· Mar 8, 2007, 17:33 UTC · re: Johannes Schindelin · lore

Re: attempting to clone the git repo

Hi,
On Thu, 8 Mar 2007, Johannes Schindelin wrote:
Show 10 quoted lines
> 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· Mar 8, 2007, 18:40 UTC · re: Johannes Schindelin · lore

Re: attempting to clone the git repo

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 10 quoted lines
> 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· Mar 9, 2007, 09:51 UTC · re: Junio C Hamano · lore

Re: attempting to clone the git repo

On 08/03/07, Junio C Hamano <junkio@cox.net> wrote:
Show 5 quoted lines
> 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· Mar 9, 2007, 10:08 UTC · re: Andrew Kilroy · lore

Re: attempting to clone the git repo

On Fri, Mar 09, 2007 at 09:51:14AM +0000, Andrew Kilroy wrote:
Show 14 quoted lines
> 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

← back to recent threads