部署Hugo的Web到Git Hub页面错误:致命错误:远程错误:Upload-Pack:不是我们的Ref 79431688EB0DF78F3B
我正在尝试在GitHub页面上实现雨果网站。我正在使用“ Serif-Hugo-Theme”主题。
它在本地模式下对我来说非常有效,但是当我进行部署时,我会遇到此错误。
我已经用我的github存储库的baseurl配置了config.toml。
谢谢提前
错误:
克隆进入'/home/runner/work/la-coladalavanderia/la-coladalavanderia/themes/hugo-serif-theme'... 错误:致命:远程错误:上传式包:不是我们的Ref 79431688EB0DF78F3B6D904071895A4D8205AC42 错误:致命:在子模块路径“主题/Hugo-serif-theme”中获取,但不含79431688EB0DF78F78F3B6D904071895A4D8205AC42。该提交的直接获取失败。 错误:流程'/usr/bin/git'出口代码128 失败
I am trying to implement my hugo website in github pages. I am using the "serif-hugo-theme" theme.
It works perfectly for me in local mode but when I do the deployment I get this error.
I have configured the config.toml well with the baseurl of my github repository.
Thanks in advance
Error:
Cloning into '/home/runner/work/la-coladalavanderia/la-coladalavanderia/themes/hugo-serif-theme'...
Error: fatal: remote error: upload-pack: not our ref 79431688eb0df78f3b6d904071895a4d8205ac42
Error: fatal: Fetched in submodule path 'themes/hugo-serif-theme', but it did not contain 79431688eb0df78f3b6d904071895a4d8205ac42. Direct fetching of that commit failed.
Error: The process '/usr/bin/git' failed with exit code 128
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经使用此主题信息创建了一个.gitModules文件(不存在)。 _我不知道它是否正确
I have created a .gitmodules file (which did not exist) with this theme information. _I don't know if it's correct