git submodule: already exists in the index
目录
Git 报错 “git submodule: already exists in the index” 的解决方法。
1 问题
在 hugo-fixit/docs,里我增通过软连接的方式引入了 hugo-fixit/FixIt,位于 themes/FixIt
目录下。
然后为了把主题开发和主题文档分离(#404),我想通过 git submodule
的方式引入主题,于是我先把 themes/FixIt
目录删除,然后执行:
|
|
结果报错:
|
|
2 解决方法
|
|
相关内容
Buy me a coffee~

