git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* push --follow-tags not pushing tags ?
@ 2020-01-05  4:04 Wes Hurd
  2020-01-05  4:24 ` Matt Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: Wes Hurd @ 2020-01-05  4:04 UTC (permalink / raw)
  To: git

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,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: push --follow-tags not pushing tags ?
  2020-01-05  4:04 push --follow-tags not pushing tags ? Wes Hurd
@ 2020-01-05  4:24 ` Matt Rogers
  2020-01-05 15:32   ` Wes Hurd
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Rogers @ 2020-01-05  4:24 UTC (permalink / raw)
  To: Wes Hurd; +Cc: git

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"`

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: push --follow-tags not pushing tags ?
  2020-01-05  4:24 ` Matt Rogers
@ 2020-01-05 15:32   ` Wes Hurd
  0 siblings, 0 replies; 3+ messages in thread
From: Wes Hurd @ 2020-01-05 15:32 UTC (permalink / raw)
  To: Matt Rogers; +Cc: git

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"`

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-05 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05  4:04 push --follow-tags not pushing tags ? Wes Hurd
2020-01-05  4:24 ` Matt Rogers
2020-01-05 15:32   ` Wes Hurd

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).