Last active
September 13, 2019 18:14
-
-
Save constrict0r/8a66c2cf411af4fa27350505c5ed4829 to your computer and use it in GitHub Desktop.
Handle 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
# Add. | |
git submodule add -b branch_name https://github.com/constrict0r/submodulename optional_directory_rename | |
# Get. | |
git submodule update --init --recursive | |
git submodule update --recursive | |
# Remove. | |
git rm submodulename | |
rm -rf .git/modules/submodulename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment