Re: Apply git bundle to source tree?

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

 



On Fri, 18 Sep 2020 at 07:14, Andreas Grünbacher
<andreas.gruenbacher@xxxxxxxxx> wrote:
>
> Hi,
>
> I'm wondering if there's a way to apply a particular head in a bundle
> to a source tree, for example:
>
>   $ git bundle create v5.9-rc1.bundle v5.8..v5.9-rc1
>   $ cd linux-5.8
>   $ git bundle APPLY ../5.9-rc1.bundle v5.9-rc1

I know this is not what you are asking, but since you used the kernel
as your example, you can use the following to achieve the result
you're looking for:
curl --header 'Accept-Encoding: gzip' -L
https://git.kernel.org/torvalds/p/v5.9-rc1/v5.8 | gunzip - | git apply

-K




[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]

  Powered by Linux