Aslan Brooke
Friday, April 19, 2013
Remove a git sub-module (How to)
How to remove a submodule (Excerpt from
https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial#Removal
)
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 the superproject.
Delete the now untracked submodule files.
Older Posts
Home
Subscribe to:
Posts (Atom)