- Delete the relevant section from the
.gitmodules
file. - Delete the relevant section from
.git/config
. - Run
git rm --cached subproject-path
(no trailing slash). - Commit and delete the now untracked submodule files.
References
10 Aug 2013
-
git
.gitmodules
file..git/config
.git rm --cached subproject-path
(no trailing slash).References