git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push --recurse-submodules=on-demand with submodule push tag
@ 2013-01-08 16:35 乙酸鋰
  2013-01-08 17:33 ` Jens Lehmann
  0 siblings, 1 reply; 2+ messages in thread
From: 乙酸鋰 @ 2013-01-08 16:35 UTC (permalink / raw)
  To: git

Hi,

In superproject, can I call git push --recurse-submodules=on-demand
that pushes submodule with the submodule's tags?
Very often I change version and tag the submodule
and change version and tag the superproject at the same time.

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

* Re: git push --recurse-submodules=on-demand with submodule push tag
  2013-01-08 16:35 git push --recurse-submodules=on-demand with submodule push tag 乙酸鋰
@ 2013-01-08 17:33 ` Jens Lehmann
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Lehmann @ 2013-01-08 17:33 UTC (permalink / raw)
  To: 乙酸鋰; +Cc: git

Am 08.01.2013 17:35, schrieb 乙酸鋰:
> In superproject, can I call git push --recurse-submodules=on-demand
> that pushes submodule with the submodule's tags?

As that seems to call a plain "git push" in the submodule I think
the tags won't be pushed by this command.

> Very often I change version and tag the submodule
> and change version and tag the superproject at the same time.

Won't "git submodule foreach 'git push --tags'" do what you want?

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

end of thread, other threads:[~2013-01-08 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 16:35 git push --recurse-submodules=on-demand with submodule push tag 乙酸鋰
2013-01-08 17:33 ` Jens Lehmann

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 NNTP newsgroup(s).