我的repo的 .gitmodules 文件看起来像这样:

[submodule "deps/Framework"]
    path = deps/Framework
    url = git://git@github.com/MyOrg/framework-php.git
    branch = reorg
[submodule "deps/MyClient"]
    path = deps/MyClient
    url = git://git@github.com/MyOrg/myclient-php.git
    branch = publish

当我在Azure Kudu的命令行中运行 git submodule update --init --progress 时,我收到此错误:

Cloning into 'D:/home/site/repository/mywebsite/deps/MyClient'...
ssh: Could not resolve hostname github.com:MyOrg: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.
fatal: clone of 'ssh://git@github.com:My/Myclient-php.git' into submodule path 'D:/home/site/repository/mywebsite/deps/MyClient' failed
Failed to clone 'deps/MyClient'. Retry scheduled
Cloning into 'D:/home/site/repository/mywebsite/deps/Framework'...
ssh: Could not resolve hostname github.com:MyOrg: Name or service not known
fatal: Could not read from remote repository.

为什么将 github.com/MyOrg 转换为 github.com:MyOrg (无论如何都是有效的SSH URL)然后拒绝它?

我的 git config -l 输出未列出任何 submodule... 条目 .