Re: [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import'

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

 



Hi,

On Sat, 24 Nov 2007, Nguyen Thai Ngoc Duy wrote:

> On Nov 23, 2007 9:31 PM, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote:
>
> > On Fri, 23 Nov 2007, Nguyen Thai Ngoc Duy wrote:
> >
> > > Bundle is very handy for transferring a bunch of commits, but it 
> > > does not (cannot?) hold tags and branches.
> >
> > But they can!  Nothing prevents you from calling
> >
> >         git bundle create a1.bundle refs/tags/v1.0.0 refs/heads/next
> >
> > (At least this is the idea, haven't tested yet).
> 
> It can store commits and heavy tags, but it won't restore tags to 
> refs/tags or advance branches.

The idea is that you fetch them from the bundle.  So something like this 
should do what you want:

	git fetch a1.bundle v1.0.0:refs/tags/v1.0.0

Note that the automatic tag handling of git fetch kicks in with bundles 
just like with other fetch URLs (Unassuming Repository Locators).

Ciao,
Dscho

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

  Powered by Linux