Git development
 help / color / mirror / Atom feed
* core.sshCommand and url.*.insteadOf for submodules
@ 2017-01-05 10:09 Stefan Schindler
  2017-01-05 13:53 ` Stefan Beller
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Schindler @ 2017-01-05 10:09 UTC (permalink / raw)
  To: git

Hello mailing list,

it seems like that the `core.sshCommand` and `url.*.insteadOf`
configuration settings do not apply to `git submodule update --init`
(and probably related) calls.

Is this intentional?

My scenario is as follows: I use 2 SSH keys for GitHub, for private and
work-related repositories. My default key is my private key. So when I
clone a work repository and try getting the submodules, `git submodule
update --init` fails. This is also the case when setting
`core.sshCommand` and `url.*.insteadOf` (useful for substituting
"github.com" by some ~/.ssh/config'ured host).

Greetings,
Stefan Schindler

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-05 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05 10:09 core.sshCommand and url.*.insteadOf for submodules Stefan Schindler
2017-01-05 13:53 ` Stefan Beller
2017-01-05 17:02   ` Jeff King
2017-01-05 17:30     ` Stefan Beller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox