Github 页面缺少子模块?
Github pages missing submodule?
我按照确切的说明(不止一次)制作了一个 github 页面网站,但我收到了一封包含此错误的电子邮件
The page build failed with the following error:
The submodule `msgBored` was not properly initialized with a `.gitmodules` file.
它链接到我的页面完全没有告诉我如何解决这个问题,我是 Github 的新手,这是我第一次尝试。谢谢!
这在“Page build failed: Missing submodule”中有提及。
您可以查看子模块是否初始化为:
cd /path/to/main/repo
git submodule init
git submodule update
但是如果你没有任何 .gitmodules,那么它实际上是 ,你需要先删除那个条目(如果你真的需要它),将它添加为一个合适的子模块
cd /path/to/main/repo
git rm mysubmodule # no trailing slash
git submodule add -- /url/to/submodule/remote/repo
我按照确切的说明(不止一次)制作了一个 github 页面网站,但我收到了一封包含此错误的电子邮件
The page build failed with the following error:
The submodule `msgBored` was not properly initialized with a `.gitmodules` file.
它链接到我的页面完全没有告诉我如何解决这个问题,我是 Github 的新手,这是我第一次尝试。谢谢!
这在“Page build failed: Missing submodule”中有提及。
您可以查看子模块是否初始化为:
cd /path/to/main/repo
git submodule init
git submodule update
但是如果你没有任何 .gitmodules,那么它实际上是
cd /path/to/main/repo
git rm mysubmodule # no trailing slash
git submodule add -- /url/to/submodule/remote/repo