无法从Git仓库中删除子模块
这个问题在这里已经有了答案:
  如果git submodule deinit失败(可能是因为.gitmodules没有列出该子模块),请尝试至少删除索引中的特殊条目: 
git rm --cached submodule-name
git commit -m "Remove submodule entry"
git push
然后灰色文件夹应该在GitHub一侧。
这工作https://stackoverflow.com/a/1789374/1798394:
git rm --cached path/to/submodule
rm -rf path/to/submodule
上一篇: Cannot remove submodule from Git repo
下一篇: How can I delete a folder using CMD utitilty in Windows XP?
