summaryrefslogtreecommitdiffstats
path: root/cholerab/HACKING/git/remove-submodule
blob: da8a1b0064a2ffbf9270604003ab75444c019c7d (plain)
1
2
3
4
5
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.