当前处在:/d/projects/Blog/themes目录下
因为yilia是从另一个第三方的仓库克隆的,在执行git add的时候”fatal: in unpopulated submodule yilia” 错误
执行git add .时出错,如下:
gary@DESKTOP-89UIIGH MINGW64 /d/projects/Blog/themes/yilia (master)
$ git add .
fatal: in unpopulated submodule 'themes/yilia'
解决方案:
gary@DESKTOP-89UIIGH MINGW64 /d/projects/Blog/themes (master)
$ git rm -rf --cached yilia
rm 'themes/yilia'
gary@DESKTOP-89UIIGH MINGW64 /d/projects/Blog/themes (master)
$ git add yilia/*
gary@DESKTOP-89UIIGH MINGW64 /d/projects/Blog/themes (master)
$ git add .
gary@DESKTOP-89UIIGH MINGW64 /d/projects/Blog/themes (master)
$ git commit -m "add themes yilia source code"
gary@DESKTOP-89UIIGH MINGW64 /d/projects/Blog/themes (master)
$ git push
v1.5.2