# git fast-export and lightweight tags

4 messages from 2011-06-07 to 2011-06-07. Participants: Philippe De Muyter, Sverre Rabbelier.
Thread: https://gitlist.dev/t/27565

## Philippe De Muyter, 2011-06-07 11:02

Subject: git fast-export and lightweight tags
Message-ID: <20110607110213.GA2698@frolo.macqel>
URL: https://gitlist.dev/e/20110607110213.GA2698%40frolo.macqel

```
Hello list,

I have a git project with plenty of tags created by

	git tag MYTAG

When I clone my git repo, I find my tags again using

	git tag

When I display it using gitweb or the git plugin for trac, I see them also.

But when I use

	git fast-export master

which is invoked by git2svn, my tags are not exported.  I checked that
using the following :

	git fast-export master > /tmp/repo.dump
	mkdir /tmp/repo.fast-imported
	cd /tmp/repo.fast-imported
	git init
	git fast-import < /tmp/repo.dump

How can I convince fast-export to export my tags ?

Philippe

```

## Sverre Rabbelier, 2011-06-07 14:10

Subject: Re: git fast-export and lightweight tags
Message-ID: <BANLkTikiNeufjH30HeApW6-71T2vOpKrxQ@mail.gmail.com>
URL: https://gitlist.dev/e/BANLkTikiNeufjH30HeApW6-71T2vOpKrxQ%40mail.gmail.com
In-Reply-To: <20110607110213.GA2698@frolo.macqel>

```
Heya,

On Tue, Jun 7, 2011 at 13:02, Philippe De Muyter <phdm@macqel.be> wrote:
> How can I convince fast-export to export my tags ?

Untested, this is just from memory:

$ git fast-export --all --tags

-- 
Cheers,

Sverre Rabbelier

```

## Philippe De Muyter, 2011-06-07 14:33

Subject: Re: git fast-export and lightweight tags
Message-ID: <20110607143321.GA18671@frolo.macqel>
URL: https://gitlist.dev/e/20110607143321.GA18671%40frolo.macqel
In-Reply-To: <BANLkTikiNeufjH30HeApW6-71T2vOpKrxQ@mail.gmail.com>

```
Hi Sverre,

On Tue, Jun 07, 2011 at 04:10:45PM +0200, Sverre Rabbelier wrote:
> Heya,
> 
> On Tue, Jun 7, 2011 at 13:02, Philippe De Muyter <phdm@macqel.be> wrote:
> > How can I convince fast-export to export my tags ?
> 
> Untested, this is just from memory:
> 
> $ git fast-export --all --tags

Yes, that works, but neither

$ git help fast-export

nor

$ git fast-export

does mention it :(

Thanks

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles

```

## Sverre Rabbelier, 2011-06-07 14:48

Subject: Re: git fast-export and lightweight tags
Message-ID: <BANLkTin8w9v4GAn4V=PB-ZbtWWp4kTmRRQ@mail.gmail.com>
URL: https://gitlist.dev/e/BANLkTin8w9v4GAn4V%3DPB-ZbtWWp4kTmRRQ%40mail.gmail.com
In-Reply-To: <20110607143321.GA18671@frolo.macqel>

```
Heya,

On Tue, Jun 7, 2011 at 16:33, Philippe De Muyter <phdm@macqel.be> wrote:
> Yes, that works, but neither
>
> $ git help fast-export
>
> nor
>
> $ git fast-export
>
> mention it :(

Kind of.

[<git-rev-list-args>…]
A list of arguments, acceptable to git rev-parse and git rev-list,
that specifies the specific objects and references to export. For
example, master~10..master causes the current master reference to be
exported along with all objects added since its 10th ancestor commit.

But, yeah. Not very intuitive I agree.

-- 
Cheers,

Sverre Rabbelier

```
