From: "Alex Riesen" <raa.lkml@gmail.com>
To: "Aubrey Li" <aubreylee@gmail.com>
Cc: "Julian Phillips" <julian@quantumfyre.co.uk>, git@vger.kernel.org
Subject: Re: git clone problem through HTTP
Date: Fri, 20 Apr 2007 15:59:01 +0200 [thread overview]
Message-ID: <81b0412b0704200659g7c5b4339i3915a592d0b7beac@mail.gmail.com> (raw)
In-Reply-To: <6d6a94c50704200638y7cd3c81aj3ff7f78863f4ab8d@mail.gmail.com>
On 4/20/07, Aubrey Li <aubreylee@gmail.com> wrote:
> On 4/20/07, Julian Phillips <julian@quantumfyre.co.uk> wrote:
> > On Fri, 20 Apr 2007, Aubrey Li wrote:
> >
> > > I'm behind of a firewall on which the git port is not permitted, so I
> > > can only use http protocol. Unfortunately, I can't clone linus' git
> > > tree at all.
> >
> > Linus packs his refs, which means that currently you can't clone using
> > http, with any version of git.
>
> I really don't understand why packed refs or not depend on the protocol.
> It doesn't make any sense.
It does. And the program you using is currently maintainerless.
> > Try http://repo.or.cz/r/linux-2.6.git/ instead? This appears to be a
> > straight clone, but without packed refs.
>
> Does git support to update working copy to a different URL? for
> example, I clone the repo through GIT, and switch the working copy to
> HTTP, is it possible?
Yes. Just edit you remote to point somewhere else. Looks for
"remote" in .git/config or .git/remotes/origin.
> Or clone it from http://repo.or.cz/r/linux-2.6.git, and switch it to
> www.kernel.org?
Whatever, works anyway:
$ git clone --reference /home/auli/linux-2.6.git \
http://repo.or.cz/r/linux-2.6.git linux-2.6.or.cz
next prev parent reply other threads:[~2007-04-20 13:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 7:15 git clone problem through HTTP Aubrey Li
2007-04-20 11:48 ` Julian Phillips
2007-04-20 13:01 ` Medve Emilian-EMMEDVE1
2007-04-20 13:38 ` Aubrey Li
2007-04-20 13:59 ` Alex Riesen [this message]
2007-04-20 14:01 ` Brian Gernhardt
2007-04-20 14:19 ` Julian Phillips
2007-04-20 21:02 ` Junio C Hamano
2007-04-20 21:09 ` Junio C Hamano
2007-04-20 21:31 ` Junio C Hamano
2007-04-22 5:10 ` Aubrey Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81b0412b0704200659g7c5b4339i3915a592d0b7beac@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=aubreylee@gmail.com \
--cc=git@vger.kernel.org \
--cc=julian@quantumfyre.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).