gpt4 book ai didi

git - 路径 '.gitmodules' 在 '31627edc0c80332d93e694cb0ed379531fbc9de0' 中不存在

转载 作者:太空狗 更新时间:2023-10-29 13:47:17 24 4
gpt4 key购买 nike

我正在尝试使用 hg convert 将 Git 存储库转换为 Mercurial ,但我一直在特定的变更集上遇到这个问题:

scanning source...
sorting...
converting...
376 Added curtain.js files.
fatal: Path '.gitmodules' does not exist in '31627edc0c80332d93e694cb0ed379531fbc9de0'
abort: cannot read submodules config file in 31627edc0c80332d93e694cb0ed379531fbc9de0

我没有使用过任何 git 模块,而且据我所知从来没有 .gitmodules 文件。我已经尝试在运行转换之前手动添加文件,但它仍然崩溃并显示相同的消息,只有 Path '.gitmodules' 存在于磁盘上,但不存在于 [...] 中。我一直在到处搜索,但一直无法找到解决此问题的方法。我确实找到了 git converter plugin 的链接如果它对任何人有帮助。

非常感谢阅读。

最好的问候,暗淡的

最佳答案

我怀疑这与 https://bz.mercurial-scm.org/show_bug.cgi?id=5193 有关.

在命令行中指定 --config convert.git.skipsubmodules=yes 可能会有些运气。

关于git - 路径 '.gitmodules' 在 '31627edc0c80332d93e694cb0ed379531fbc9de0' 中不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18164545/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com