Remove a git submodule
Removes all traces of a git submodule from a repository. The `.git` dir of the submodule is kept around in the `/modules` folder of the main projects `.git` dir to make it possible to checkout past commits without requiring fetching from another repository.
Authored by: John DouthatBrought to you by Warp, a free terminal reimagined to work like a modern app.
submodule_path
Command
Copy
git rm submodule_path
Tags
Edit in GitHub
Copied