{"thread":{"id":"32559","subject":"git push --recurse-submodules=on-demand with submodule push tag","startedAt":"2013-01-08T16:35:58Z","lastAt":"2013-01-08T17:33:40Z","messageCount":2,"participants":["乙酸鋰","Jens Lehmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"206302","messageId":"CAHtLG6TDqqG09WBkuWzGeWUGog6GOrWQZZtbF5xx_m4ishvzyQ@mail.gmail.com","threadId":"32559","inReplyTo":null,"subject":"git push --recurse-submodules=on-demand with submodule push tag","fromName":"乙酸鋰","fromEmail":"ch3cooli@gmail.com","sentAt":"2013-01-08T16:35:58Z","receivedAt":"2013-01-08T16:35:58Z","isPatch":false,"sender":{"key":"ch3cooli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2804967?v=4"},"body":"Hi,\n\nIn superproject, can I call git push --recurse-submodules=on-demand\nthat pushes submodule with the submodule's tags?\nVery often I change version and tag the submodule\nand change version and tag the superproject at the same time.\n"},{"id":"206309","messageId":"50EC5874.6080208@web.de","threadId":"32559","inReplyTo":"CAHtLG6TDqqG09WBkuWzGeWUGog6GOrWQZZtbF5xx_m4ishvzyQ@mail.gmail.com","subject":"Re: git push --recurse-submodules=on-demand with submodule push tag","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2013-01-08T17:33:40Z","receivedAt":"2013-01-08T17:33:40Z","isPatch":false,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"Am 08.01.2013 17:35, schrieb 乙酸鋰:\n> In superproject, can I call git push --recurse-submodules=on-demand\n> that pushes submodule with the submodule's tags?\n\nAs that seems to call a plain \"git push\" in the submodule I think\nthe tags won't be pushed by this command.\n\n> Very often I change version and tag the submodule\n> and change version and tag the superproject at the same time.\n\nWon't \"git submodule foreach 'git push --tags'\" do what you want?\n"}]}