Re: [PATCH 0/3] push only submodules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 19, 2016, 18:41 UTC
- Message-ID
- <xmqqd1gnpxr7.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1482171933-180601-1-git-send-email-bmwill@google.com>
Brandon Williams <bmwill@google.com> writes:
> This series teaches 'git push' to be able to only push submodules > while leaving a superproject unpushed. > ... > builtin/push.c | 2 ++
My knee-jerk reaction is "why is this even part of 'git push' if it does not push?"
I think "git submodule foreach git push" is probably a mouthful to say, but I am not sure "git push --recurse-submodule=only" is a short-hand that is way better than that.
Maybe I'll find why the latter is better after reading the patches through ;-)