Created
August 25, 2018 22:04
-
-
Save justinsoliz/6e0619444fb6c5c1c71efbefb0b6f486 to your computer and use it in GitHub Desktop.
Remove a git submodule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash commands per https://gist.github.com/myusuf3/7f645819ded92bda6677#gistcomment-2650640 | |
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