# git tag -u feature request

2 messages from 2015-05-06 to 2015-05-06. Participants: Hans Ginzel, Johannes Schindelin.
Thread: https://gitlist.dev/t/39257

## Hans Ginzel, 2015-05-06 06:09

Subject: git tag -u feature request
Message-ID: <9fa7de80732928631304708be9504271@artax.karlin.mff.cuni.cz>
URL: https://gitlist.dev/e/9fa7de80732928631304708be9504271%40artax.karlin.mff.cuni.cz

```
Hello,

please, would it be possible to add -u option to git tag for updating 
tag
(with message) to a new commit, e.g. after rebase.

See 
http://stackoverflow.com/questions/8044583/how-can-i-move-a-tag-on-a-git-branch-to-a-different-commit

Thank you,
Hans

```

## Johannes Schindelin, 2015-05-06 07:02

Subject: Re: git tag -u feature request
Message-ID: <8b6abb32537f04b3a310602d3161d559@www.dscho.org>
URL: https://gitlist.dev/e/8b6abb32537f04b3a310602d3161d559%40www.dscho.org
In-Reply-To: <9fa7de80732928631304708be9504271@artax.karlin.mff.cuni.cz>

```
Hi Hans,

On 2015-05-06 08:09, Hans Ginzel wrote:

> please, would it be possible to add -u option to git tag for updating tag
> (with message) to a new commit, e.g. after rebase.
> 
> See
> http://stackoverflow.com/questions/8044583/how-can-i-move-a-tag-on-a-git-branch-to-a-different-commit

As the answer http://stackoverflow.com/questions/8044583/how-can-i-move-a-tag-on-a-git-branch-to-a-different-commit/8044605#8044605 says: there is the `-f` flag.

It is appropriate to call the flag `--force` rather than `--update` because the social contract of tags is that they do not change.

Ciao,
Johannes

```
