在 .gitmodules 中找不到 path.No 子模块存在的子模块映射

No submodule mapping found in .gitmodules for path.No Submodule present

我在 Azure 网站上部署 NugetGallery git 项目时遇到此错误。

但是当我尝试执行命令并检查我有 not found any submodule

C:\NuGetGallery-master [master]> git ls-files --stage | grep 160000
160000 e35ece8c542e50bcfd71d0c5ed528d1b8206389f 0       mydemonugetgallery 

what should be cause ?

部署失败错误: 更新子模块。

No submodule mapping found in .gitmodules for path 'mydemonugetgallery'

D:\Program Files (x86)\Git\bin\git.exe submodule update --init --recursive

我应该在 .gitmodules

中插入哪个条目
[submodule "mydemonugetgallery"]
    path = ext/Slab
    url = https://git01.codeplex.com/slab

请注意,较新版本的 NuGetGallery 项目不支持 运行 on Azure App Service Web App。