Re: git clone problem through HTTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/20/07, Aubrey Li <aubreylee@xxxxxxxxx> wrote:
On 4/20/07, Julian Phillips <julian@xxxxxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]