On Fri, 25 May 2007, Romano Giannetti wrote:
>
> ...and while at it, I decided to start by learning a bit more of git,
> and installed the last version...
>
> % git clone http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
> Initialized empty Git repository in /usr/src/git/linux-2.6/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
Heh. If you are using http://, you should _not_ ask for "git.kernel.org".
So use
git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
instead. That should work (modulo mirroring issues - but mirroring has
worked pretty well lately)
> I cannot use git protocol from here (overfirewalling, you know...)
http:// will suck, but should work. It will be a bit frustrating, because
when it downloads the big packs, it will just say something like
Getting pack 4f22c0234340c4f3470c04f912969fc59ae8babc
which contains ...
and then it will be quiet for a _loong_ time while it downloads that 164MB
pack..
And the real problem with http:// will come later, if you use git to keep
up-to-date with the kernel, and I end up repacking the archive (which I
usually do around major releases). Then it will end up fetching the newly
repacked data - even though most of it you already have.
Anyway, there's a reason why the "native" protocols are much preferred,
but the http:// one does work. It just requires www.kernel.org, not
git.kernel.org.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]