Skip to content

Instantly share code, notes, and snippets.

@markaltmann
Created April 15, 2019 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markaltmann/48590ea9ccfc26a2f4cac481f42277d4 to your computer and use it in GitHub Desktop.
Save markaltmann/48590ea9ccfc26a2f4cac481f42277d4 to your computer and use it in GitHub Desktop.
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