git-delete-submodule
https://stackoverflow.com/a/1260982/12539782
仓库中只有一个子模块:
```bash git rm <path-to-submodule> rm .gitmodules rm -rf .git/modules git config –remove-section submodule.<path-to-submodule> ```
https://stackoverflow.com/a/1260982/12539782
仓库中只有一个子模块:
```bash git rm <path-to-submodule> rm .gitmodules rm -rf .git/modules git config –remove-section submodule.<path-to-submodule> ```