Clone out a specific kernel version for ubuntu karmic
Eric Miao
eric.miao at canonical.com
Mon May 3 09:33:21 UTC 2010
On Sun, May 2, 2010 at 11:24 PM, saravanan T <saravanadel at gmail.com> wrote:
> Hi,
> I wanted to checkout the Ubuntu karmic kernel version 2.6.28. How can I just
> check out this version based on the tag.
> I just know the basis of git and I also did few google searches. Many of
> them talk about clone the repository, then checking out the
> tag. Please do help me on this,since I cannot download the entire
> repo(>500mb) as my connection is slow.
> Command : git clone git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git -
> takes out the full repository
> tried git clone: --reference
> linux-2.6.28 git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git (not working,
> this reference does not seem to work)
This assumes you have linux-2.6.28 as an existing git repo.
> I also cannot checkout tarball archives using git
> Command: git --format=tar
> --remote=git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git Ubuntu-2.6.28
>>archive.tar
If you do not actually want the full history, you can download a snapshot
instead with git web interface: http://kernel.ubuntu.com/git, click the
"snapshot" link besides the commit tree.
Or you may search shallow clone of git, this, though may require a more
recent git binary.
> Thank You.
> Regards
> Saravanan.L
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
>
More information about the kernel-team
mailing list