Skip to content

Instantly share code, notes, and snippets.

@ashimjk
Created July 26, 2020 09:08
Show Gist options
  • Save ashimjk/63df55194e2ae8d7e40be0fdebcd7b22 to your computer and use it in GitHub Desktop.
Save ashimjk/63df55194e2ae8d7e40be0fdebcd7b22 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