# push --follow-tags not pushing tags ?

3 messages from 2020-01-05 to 2020-01-05. Participants: Wes Hurd, Matt Rogers.
Thread: https://gitlist.dev/t/52568

## Wes Hurd, 2020-01-05 04:04

Subject: push --follow-tags not pushing tags ?
Message-ID: <CAOAGZwEfMQ6F8t3a+jVDNrPd6ZWFfiHDU9z1srSHp575DmqcVQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAOAGZwEfMQ6F8t3a%2BjVDNrPd6ZWFfiHDU9z1srSHp575DmqcVQ%40mail.gmail.com

```
Hi,

I'm experiencing an issue where git push --follow-tags is not actually
adding a new tag to the remote, as it's expected
https://git-scm.com/docs/git-push#Documentation/git-push.txt---follow-tags

I did the following sequence:
committed to master (new commit)

git tag v1.0.1
git push --follow-tags origin

The commit pushed to remote but the tag is not pushed.
plain `git push --follow-tags` has the same behaviour.

Output of git tag :
v1.0.0
v1.0.1

git 2.24.1 Ubuntu 18.04

Am I missing something for this to work ?
https://stackoverflow.com/a/3745250/4364036 also indicates it should
work based on the sequence I followed.

Thanks,

```

## Matt Rogers, 2020-01-05 04:24

Subject: Re: push --follow-tags not pushing tags ?
Message-ID: <CAOjrSZv-D6qsyd7mjAEAJ=6YVUTUupYLNdUkDTjbGkA_9eOfUA@mail.gmail.com>
URL: https://gitlist.dev/e/CAOjrSZv-D6qsyd7mjAEAJ%3D6YVUTUupYLNdUkDTjbGkA_9eOfUA%40mail.gmail.com
In-Reply-To: <CAOAGZwEfMQ6F8t3a+jVDNrPd6ZWFfiHDU9z1srSHp575DmqcVQ@mail.gmail.com>

```
I believe --follow-tags only pushes annotated tags.  Does the issue
still persist when you use something like:

`git tag -a -m "I'm an annotation"`

```

## Wes Hurd, 2020-01-05 15:32

Subject: Re: push --follow-tags not pushing tags ?
Message-ID: <CAOAGZwEEYe=1+jh2PNaT9w7-Ggti+N6YY0605bWvgbMuWrf78A@mail.gmail.com>
URL: https://gitlist.dev/e/CAOAGZwEEYe%3D1%2Bjh2PNaT9w7-Ggti%2BN6YY0605bWvgbMuWrf78A%40mail.gmail.com
In-Reply-To: <CAOjrSZv-D6qsyd7mjAEAJ=6YVUTUupYLNdUkDTjbGkA_9eOfUA@mail.gmail.com>

```
Ah ok, that's it

thanks Matt

I'll update the stack overflow to clarify


On Sat, Jan 4, 2020 at 11:24 PM Matt Rogers <mattr94@gmail.com> wrote:
>
> I believe --follow-tags only pushes annotated tags.  Does the issue
> still persist when you use something like:
>
> `git tag -a -m "I'm an annotation"`

```
