Removing Git Submodules
Is apparently a pain in the ass, by design, according to StackOverflow, here:
To remove a submodule you need to: Technorati Tags: GIT,Programming
- Delete the relevant line from the
.gitmodules
file. - Delete the relevant section from
.git/config
. - Run
git rm --cached path_to_submodule
(no trailing slash). - Commit and delete the now untracked submodule files.
Comments
Post a Comment