Re: How should submodules use different sshCommand during initial update?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 13, 2026, 16:02 UTC
- Message-ID
- <xmqq1pgilufr.fsf@gitster.g>
- In-Reply-To
- <CAAC4ekqE0rGTeZA3fPKYePr3=J8pHe-KORgn5W026J8AAhRRHw@mail.gmail.com>
Shibo Xia <sbxia25@gmail.com> writes:
> My use case is that different submodules may need different SSH identities or > different SSH command settings.
Would it help to do "submodule init" separately from "submodule update"? Then you have a chance to tweak the submodule.*.url configuration items in the superproject repository before the clone actually happens, I would imagine?