Questions tagged «hakyll»

5
Git:致命的:Pathspec在子模块中
根据本指南,我正在尝试使TravisCI自动部署我的Hakyll静态站点。 这是我的存储库的设置方式。我有我的源分支,其中包含我的hakyll和markdown文件。它将html构建到_site目录中,该目录设置为子模块,并链接到我的master分支。 我建立站点没有问题,然后cd进入_site目录。但是,当我尝试git add ./*新生成的HTML文件时,出现以下错误: fatal: Pathspec './about.html' is in submodule '_site' 当我尝试时git add --all,出现此错误: git: pathspec.c:317: prefix_pathspec: Assertion `item->nowildcard_len <= item->len && item->prefix <= item->len' failed. /home/travis/build.sh: line 245: 1566 Aborted git add --all 是什么原因造成的,如何避免这种情况? 您可以在此处查看存储库。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.