git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git push --recurse-submodules=on-demand with submodule push tag

From
Jens Lehmann <jens.lehmann@web.de>
Date
Jan 8, 2013, 17:33 UTC
Message-ID
<50EC5874.6080208@web.de>
In-Reply-To
<CAHtLG6TDqqG09WBkuWzGeWUGog6GOrWQZZtbF5xx_m4ishvzyQ@mail.gmail.com>
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?
Previous: 乙酸鋰
Message 2 of 2 in “git push --recurse-submodules=on-demand with submodule push tag”
  1. 乙酸鋰Jan 8, 2013
  2. Jens LehmannJan 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.