例如,我有 Magento 项目:
app/design/frontend/base/
app/design/frontend/default/
errors/default/
errors/local.xml.sample
...
skin/frontend/base/
skin/frontend/default/
...
...和它的外部主题:
app/design/frontend/[theme name]/default/
errors/[theme name]/
errors/local.xml.[theme name]
skin/frontend/[theme name]/default/
README.[theme name]
但是当我尝试将主题的存储库作为子模块添加到项目的根目录时......
$ git submodule add -b theme_name git://theme_repository.git .
'' already exists in the index
有什么解决办法吗?