threads / discuss / 52568

push --follow-tags not pushing tags ?

Subject: push --follow-tags not pushing tags ?

## tl;dr

3 messages between Jan 5, 2020 and Jan 5, 2020.

replies: 2people: 2as markdown or json

Wes Hurd· Jan 5, 2020, 04:04 UTC · lore
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· Jan 5, 2020, 04:24 UTC · re: Wes Hurd · lore

Re: push --follow-tags not pushing tags ?

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· Jan 5, 2020, 15:32 UTC · re: Matt Rogers · lore

Re: push --follow-tags not pushing tags ?

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:
Show 5 quoted lines
>
> 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"`

← back to recent threads