Skip to content

Instantly share code, notes, and snippets.

@neuralvis
Created October 9, 2019 16:30
Show Gist options
  • Save neuralvis/e3a5b258d59bea48d367335a556e000c to your computer and use it in GitHub Desktop.
Save neuralvis/e3a5b258d59bea48d367335a556e000c to your computer and use it in GitHub Desktop.
Removing a git submodule
> git submodule deinit <path_to_submodule>
> git rm <path_to_submodule>
> git commit-m "Removed submodule "
> rm -rf .git/modules/<path_to_submodule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment