Apply git bundle to source tree?
- From
- Andreas Grünbacher <andreas.gruenbacher@gmail.com>
- Date
- Sep 18, 2020, 11:13 UTC
- Message-ID
- <CAHpGcMJqmUmCR_u3fxSVppzwBo8_6RJG5-WLrXAWXm+OQ6_3bA@mail.gmail.com>
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
That would allow to reconstruct either the original repository or just the underlying source tree, so the bundle could be used as a kind of super diff.
Thanks, Andreas