Created
October 25, 2018 11:18
-
-
Save gramcha/c82fbfe103c11e08b30c269be2047b92 to your computer and use it in GitHub Desktop.
How do I remove a GIT submodule?
This file contains hidden or 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
#lets assume git sub module name is 'eureka-client-service' | |
#required git version >= 1.8.5.2 | |
git rm eureka-client-service | |
rm -rf .git/modules/eureka-client-service | |
git config -f .git/config --remove-section submodule.eureka-client-service 2> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment