Skip to content

Instantly share code, notes, and snippets.

@hakandilek
Created March 15, 2019 15:35
Show Gist options
  • Save hakandilek/7451407c7013e3b32807995128a9eed5 to your computer and use it in GitHub Desktop.
Save hakandilek/7451407c7013e3b32807995128a9eed5 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