threads / discuss / 32559

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

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

## tl;dr

2 messages between Jan 8, 2013 and Jan 8, 2013.

replies: 1people: 2as markdown or json

乙酸鋰· Jan 8, 2013, 16:35 UTC · lore
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.

Jens Lehmann· Jan 8, 2013, 17:33 UTC · re: 乙酸鋰 · lore

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

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?

← back to recent threads